Boost logo

Boost-Build :

Subject: [Boost-build] boost build on opensolaris gcc 3.4.3
From: Karun Gahlawat (karun.gahlawat_at_[hidden])
Date: 2009-01-28 22:21:57


got boost from the svn trunk. building on opensolaris 2008.11

g++ --version
g++ (GCC) 3.4.3 (csl-sol210-3_4-20050802)

uname -a
SunOS 5.11 snv_101b i86pc i386 i86pc

I am seeing a lot these errors. I checked the quickstart test under
python examples and found the same issues. I have used a separate bjam
build as well. when run on debug configuration, i could see build
recognizing the python correctly.

 python -V
Python 2.4.4

gcc.compile.c++
bin.v2/libs/python/build/gcc-3.4.3/release/threading-multi/numeric.o
In file included from ./boost/python/object/make_instance.hpp:9,
                 from ./boost/python/object/make_ptr_instance.hpp:8,
                 from ./boost/python/to_python_indirect.hpp:11,
                 from ./boost/python/converter/arg_to_python.hpp:10,
                 from ./boost/python/call.hpp:15,
                 from ./boost/python/object_core.hpp:12,
                 from ./boost/python/object.hpp:9,
                 from ./boost/python/tuple.hpp:10,
                 from ./boost/python/numeric.hpp:10,
                 from libs/python/src/numeric.cpp:6:
./boost/python/object/instance.hpp:44: error: a casts to a type other
than an integral or enumera
tion type cannot appear in a constant-expression
./boost/python/object/instance.hpp:44: error: '->' cannot appear in a
constant-expression
./boost/python/object/instance.hpp:44: error: `&' cannot appear in a
constant-expression


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk