Boost logo

Boost :

Subject: [boost] [serialization] Boost fails to serialize via reference to a pointer
From: Alexander Churanov (alexanderchuranov_at_[hidden])
Date: 2009-11-24 13:17:42


Folks,

I've encountered an issue and not sure whether it is a bug in boost or in
the application.

>From the compiler error messages it looks like there is a bug in boost and a
reference (or value) is to be returned from the function which has a pointer
return type.

The issue was detected when building x11-toolkits/gigi with the boost-1.41.
The error log fragment is available at
http://alexanderchuranov.com/gigi-boost-1.41.0.log .

The operating system is FreeBSD 7.2-RELEASE/i386 .
The compiler is c++ (GCC) 4.2.1 20070719.

One can reproduce the issue using the following preprocessed translation
unit: http://alexanderchuranov.com/saveload.ii
The command-line is g++43 -o saveload.o -c -fno-strict-aliasing -pipe -Wall
-Wno-parentheses -O2 -pthread saveload.ii

The application successfully builds with 1.39.See
http://portsmon.freebsd.org/portoverview.py?category=x11-toolkits&portname=gigi&wildcard=.

Alexander Churanov,
mainatainer of devel/boost-* for FreeBSD


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk