[C++-sig] Compiling converter/registry.cpp with gcc-3.0.4 failure.
Pearu Peterson
pearu at cens.ioc.ee
Wed May 29 19:27:54 CEST 2002
Hi Dave,
I just noticed that when using gcc-3.0.4 I get compilation error when
compiling converter/registry.cpp:
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-DBOOST_PYTHON_DYNAMIC_LIB -DBOOST_PYTHON_V2 -Iboost
-I/home/peterson/opt/include/python2.2 -c
boost/libs/python/src/converter/registry.cpp -o
build/temp.linux-i686-2.2/registry.o
In file included from boost/boost/python/converter/registry.hpp:8,
from boost/libs/python/src/converter/registry.cpp:6:
boost/boost/python/type_id.hpp: In member function `bool
boost::python::type_info::operator<(const
boost::python::type_info&) const':
boost/boost/python/type_id.hpp:73: `strcmp' undeclared in namespace `std'
boost/boost/python/type_id.hpp: In member function `bool
boost::python::type_info::operator==(const boost::python::type_info&)
const':
boost/boost/python/type_id.hpp:82: `strcmp' undeclared in namespace `std'
error: command 'gcc' failed with exit status 1
but using gcc-3.1 is a success.
Is gcc 3.1 now the required compiler for BPL V2?
Regards,
Pearu
More information about the Cplusplus-sig
mailing list