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


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 .

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
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

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

Boost list run by bdawes at, gregod at, cpdaniel at, john at