Modify

Opened 8 years ago

Closed 8 years ago

#3715 closed Bugs (fixed)

Regex fails to build by gcc-3.3.5

Reported by: Andrei Korostelev <andrei@…> Owned by: John Maddock
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 (0)

Change History (2)

comment:1 Changed 8 years ago by Steven Watanabe

Component: Building Boostregex
Owner: set to John Maddock

comment:2 Changed 8 years ago by John Maddock

Resolution: fixed
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain John Maddock.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.