[serialization] [wave] [spirit] Can't compile boost cvs

Since before Christmas I haven't been able to compile the cvs serialization xml files. It looks like something in spirit. Wave also fails to compile with the same errors. I'm a bit surprised I haven't seen this mentioned on the boost lists, though I see there are many failures in the boost regression notifications. % gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) % bjam --with-serialization Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (and if you don't know what ICU is then you probably don't need it). ...found 4780 targets... ...updating 48 targets... gcc-C++-action bin/boost/libs/serialization/build/libboost_serialization.a/gcc/debug/xml_grammar.o In file included from /misc/hdb1/local-src/boost_cvs/boost/spirit/core/scanner/skipper.hpp:16, from /misc/hdb1/local-src/boost_cvs/boost/spirit/core/composite/impl/directives.ipp:16, from /misc/hdb1/local-src/boost_cvs/boost/spirit/core/primitives/primitives.hpp:16, from /misc/hdb1/local-src/boost_cvs/boost/spirit/utility/chset.hpp:15, from /misc/hdb1/local-src/boost_cvs/boost/archive/impl/basic_xml_grammar.hpp:69, from /misc/hdb1/local-src/boost_cvs/libs/serialization/src/xml_grammar.cpp:16: /misc/hdb1/local-src/boost_cvs/boost/spirit/core/primitives/impl/primitives.ipp:190: new declaration `template<class CharT> boost::enable_if<boost::spirit::impl::use_char_traits<CharT>, std::char_traits<_CharT>::int_type>::type boost::spirit::impl::to_int_type(CharT)' /misc/hdb1/local-src/boost_cvs/boost/spirit/core/primitives/impl/primitives.ipp:171: ambiguates old declaration `template<class CharT> boost::disable_if<boost::spirit::impl::use_char_traits<CharT>, CharT>::type boost::spirit::impl::to_int_type(CharT)' /misc/hdb1/local-src/boost_cvs/boost/spirit/core/primitives/impl/primitives.ipp:199: new declaration `template<class CharT> boost::enable_if<boost::spirit::impl::use_char_traits<CharT>, CharT>::type boost::spirit::impl::to_char_type(CharT)' /misc/hdb1/local-src/boost_cvs/boost/spirit/core/primitives/impl/primitives.ipp:179: ambiguates old declaration `template<class CharT> boost::disable_if<boost::spirit::impl::use_char_traits<CharT>, CharT>::type boost::spirit::impl::to_char_type(CharT)' set -e "g++" -c -DBOOST_LIB_DIAGNOSTIC=1 -g -O0 -fno-inline -Wall -ftemplate-depth-255 -Wno-non-virtual-dtor -Wno-ctor-dtor-privacy -I"bin/boost/libs/serial ization/build" -I "/misc/hdb1/local-src/boost_cvs" -o "bin/boost/libs/serialization/build/libboost_serialization.a/gcc/debug/xml_grammar.o" "/misc/hdb1/lo cal-src/boost_cvs/libs/serialization/build/../src/xml_grammar.cpp" "/usr/bin/objcopy" --set-section-flags .debug_str=contents,debug "bin/boost/libs/serialization/build/libboost_serialization.a/gcc/debug/xml_grammar.o" ...failed gcc-C++-action bin/boost/libs/serialization/build/libboost_serialization.a/gcc/debug/xml_grammar.o... gcc-C++-action bin/boost/libs/serialization/build/libboost_serialization.a/gcc/debug/xml_iarchive.o ...interrupted ...failed updating 1 target... -- Peter Whaite (http://whaite.ca)

Peter Whaite wrote:
Since before Christmas I haven't been able to compile the cvs serialization xml files. It looks like something in spirit. Wave also fails to compile with the same errors.
I'm a bit surprised I haven't seen this mentioned on the boost lists, though I see there are many failures in the boost regression notifications.
Ok, confirmed. I'm the culprit :( Someone submitted a patch for the is* functions to work on other POD types. Hartmut is reverting it now while I try to find a fix. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
participants (2)
-
Joel de Guzman
-
Peter Whaite