[Boost-bugs] [Boost C++ Libraries] #3715: Regex fails to build by gcc-3.3.5

Subject: [Boost-bugs] [Boost C++ Libraries] #3715: Regex fails to build by gcc-3.3.5
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-04 14:59:23


#3715: Regex fails to build by gcc-3.3.5
-------------------------------------------------------+--------------------
 Reporter: Andrei Korostelev <andrei@…> | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: Building Boost
  Version: Boost 1.41.0 | Severity: Problem
 Keywords: |
-------------------------------------------------------+--------------------
 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<charT>::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<charT>::isctype(charT,
    typename boost::cpp_regex_traits<charT>::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...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3715>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC