Boost C++ Libraries: Ticket #3715: Regex fails to build by gcc-3.3.5
https://svn.boost.org/trac10/ticket/3715
<p>
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.
</p>
<p>
The same error appears when building using jam and make -fgcc-shared.mak
</p>
<p>
-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
</p>
<blockquote>
<p>
boost::re_detail::cpp_regex_traits_implementation<charT>::init() [with charT
</p>
</blockquote>
<h1 class="section" id="char:">char]':</h1>
<p>
../../../boost/regex/v4/instances.hpp:142: instantiated from here
../../../boost/regex/v4/cpp_regex_traits.hpp:737: error: too many initializers
</p>
<blockquote>
<p>
for `const uint_least32_t<a class="changeset" href="https://svn.boost.org/trac10/changeset/14" title="*** empty log message ***
">[14]</a>'
</p>
</blockquote>
<p>
../../../boost/regex/v4/cpp_regex_traits.hpp: In member function `bool
</p>
<blockquote>
<p>
boost::re_detail::cpp_regex_traits_implementation<charT>::isctype(charT,
typename boost::cpp_regex_traits<charT>::char_class_type) const [with charT
</p>
</blockquote>
<h1 class="section" id="char:1">char]':</h1>
<p>
../../../boost/regex/v4/instances.hpp:148: instantiated from here
../../../boost/regex/v4/cpp_regex_traits.hpp:827: error: `char_class_horizontal
</p>
<blockquote>
<p>
' undeclared in namespace `boost::re_detail'
</p>
</blockquote>
<p>
../../../boost/regex/v4/cpp_regex_traits.hpp:827: error: `char_class_vertical'
</p>
<blockquote>
<p>
undeclared in namespace `boost::re_detail'
</p>
</blockquote>
<blockquote>
<blockquote>
<p>
"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"
</p>
</blockquote>
</blockquote>
<p>
...failed gcc.compile.c++ ../../../bin.v2/libs/regex/build/gcc-3.3.5/debug/link-static/threading-multi/instances.o...
</p>
en-us
Boost C++ Libraries
/htdocs/site/boost.png
https://svn.boost.org/trac10/ticket/3715
Trac 1.4.3
-
Steven Watanabe
Sat, 05 Dec 2009 01:07:32 GMT
component changed; owner set
https://svn.boost.org/trac10/ticket/3715#comment:1
https://svn.boost.org/trac10/ticket/3715#comment:1
<ul>
<li><strong>owner</strong>
set to <span class="trac-author">John Maddock</span>
</li>
<li><strong>component</strong>
<span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">regex</span>
</li>
</ul>
Ticket
-
John Maddock
Sat, 05 Dec 2009 11:05:54 GMT
status changed; resolution set
https://svn.boost.org/trac10/ticket/3715#comment:2
https://svn.boost.org/trac10/ticket/3715#comment:2
<ul>
<li><strong>status</strong>
<span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span>
</li>
<li><strong>resolution</strong>
→ <span class="trac-field-new">fixed</span>
</li>
</ul>
<p>
This was reported on the mailing list a while back: I believe it's fixed in SVN Trunk.
</p>
<p>
Please reopen if not.
</p>
<p>
Regards, John Maddock.
</p>
Ticket