Modify

Ticket #3715 (closed Bugs: fixed)

Opened 4 years ago

Last modified 4 years ago

Regex fails to build by gcc-3.3.5

Reported by: Andrei Korostelev <andrei@…> Owned by: johnmaddock
Milestone: Boost 1.42.0 Component: regex
Version: Boost 1.41.0 Severity: Problem
Keywords: Cc: regex gcc-3.3.5

Description

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...

Attachments

Change History

comment:1 Changed 4 years ago by steven_watanabe

  • Owner set to johnmaddock
  • Component changed from Building Boost to regex

comment:2 Changed 4 years ago by johnmaddock

  • Status changed from new to closed
  • Resolution set to fixed

This was reported on the mailing list a while back: I believe it's fixed in SVN Trunk.

Please reopen if not.

Regards, John Maddock.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.