[C++-sig] boost & pedantic -W -Wall -ansi

Giulio Eulisse giulio.eulisse at cern.ch
Fri Apr 4 12:25:12 CEST 2003

When compiling a pyste generated file with -pedantic -W -Wall -ansi,
besides a number of warnings because of unused variables, there is a
problem which makes the compiler fail.

/afs/cern.ch/sw/lcg/external/Boost/1.30.0/rh73_gcc32/boost/python/object/make_ptr_instance.hpp:37 invalid use of member `boost::mpl::bool_<true>::type

The same code works perfectly without those flags.
Any idea? Since the code is quite long, I'll wait to see if this is a
common error befor giving more information.

PS: dropping -pedantic -ansi -Wall -W is not an option...;-)

More information about the Cplusplus-sig mailing list