Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2011 13:54:02 GMT
From:      Yuri Karaban <dev@dev97.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/162377: databases/mysql++3: portability fix for gcc-4.6
Message-ID:  <201111081354.pA8Ds23e013260@red.freebsd.org>
Resent-Message-ID: <201111081400.pA8E0NNj006131@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162377
>Category:       ports
>Synopsis:       databases/mysql++3: portability fix for gcc-4.6
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 08 14:00:22 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Yuri Karaban
>Release:        9.0-RC1
>Organization:
>Environment:
>Description:
In lib/refcounted.h size_t is used without including proper headers (it seems in earlier versions of gcc <memory> included <cstddef>).

Please apply one line patch to include <cstddef> for size_t definition.

Thanks!
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- lib/refcounted.h.orig	2010-06-03 20:59:23.000000000 +0300
+++ lib/refcounted.h	2011-11-08 15:45:51.024492252 +0200
@@ -29,6 +29,7 @@
 #define MYSQLPP_REFCOUNTED_H
 
 #include <memory>
+#include <cstddef>
 
 namespace mysqlpp {
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111081354.pA8Ds23e013260>