id summary reporter owner description type status milestone component version severity resolution keywords cc 3715 Regex fails to build by gcc-3.3.5 Andrei Korostelev John Maddock "boost::regex from 1.40 and 1.41 cannot be built by gcc-3.3.5 (OpenBSD-4.6) Boost::regex from 1.36 is build ok. The same error appears when building using jam and make -fgcc-shared.mak -bash-4.0# ../../../tools/jam/src/bin.openbsdx86/bjam debug --toolset=gcc stage threading=multi link=static [...] gcc.compile.c++ ../../../bin.v2/libs/regex/build/gcc-3.3.5/debug/link-static/threading-multi/instances.o ../../../boost/regex/v4/cpp_regex_traits.hpp: In member function `void boost::re_detail::cpp_regex_traits_implementation::init() [with charT = char]': ../../../boost/regex/v4/instances.hpp:142: instantiated from here ../../../boost/regex/v4/cpp_regex_traits.hpp:737: error: too many initializers for `const uint_least32_t[14]' ../../../boost/regex/v4/cpp_regex_traits.hpp: In member function `bool boost::re_detail::cpp_regex_traits_implementation::isctype(charT, typename boost::cpp_regex_traits::char_class_type) const [with charT = char]': ../../../boost/regex/v4/instances.hpp:148: instantiated from here ../../../boost/regex/v4/cpp_regex_traits.hpp:827: error: `char_class_horizontal ' undeclared in namespace `boost::re_detail' ../../../boost/regex/v4/cpp_regex_traits.hpp:827: error: `char_class_vertical' undeclared in namespace `boost::re_detail' ""g++"" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -pthread -DBOOST_ALL_NO_LIB=1 -I""../../.."" -c -o ""../../../bin.v2/libs/regex/build/gcc-3.3.5/debug/link-static/threading-multi/instances.o"" ""../../../libs/regex/src/../src/instances.cpp"" ...failed gcc.compile.c++ ../../../bin.v2/libs/regex/build/gcc-3.3.5/debug/link-static/threading-multi/instances.o... " Bugs closed Boost 1.42.0 regex Boost 1.41.0 Problem fixed regex gcc-3.3.5