[regex][1.33.1] Build with MinGW+STLport-5 fails.

Ran into a problem while verifying building. With the combination of MinGW 3.4.2 - Runtime 3.8 - STLport-5 the *release* variant of Boost.Regex fails to build with this error: In file included from C:/DevRoots/Boost/boost_1_33/boost/regex/v4/regex.hpp:97, from C:/DevRoots/Boost/boost_1_33/boost/regex.hpp:31, from C:\DevRoots\Boost\boost_1_33\libs\regex\build\../src/instances.cpp:30: C:/DevRoots/Boost/boost_1_33/boost/regex/v4/instances.hpp:188: error: duplicate explicit instantiation of `void boost::match_results<BidiIterator, Allocator>::maybe_assign(const boost::match_results<BidiIterator, Allocator>&) [with BidiIterator = const char*, Allocator = stlp_std::allocator<boost::sub_match<const char*> >]' C:/DevRoots/Boost/boost_1_33/boost/regex/v4/instances.hpp:195: error: duplicate explicit instantiation of `void boost::re_detail::perl_matcher<BidiIterator, Allocator, traits>::construct_init(BidiIterator, BidiIterator, boost::match_results<BidiIterator, Allocator>&, const boost::basic_regex<typename traits::char_type, traits>&, boost::regex_constants::match_flag_type) [with BidiIterator = const char*, Allocator = stlp_std::allocator<boost::sub_match<const char*> >, traits = boost::regex_traits<char, boost::cpp_regex_traits<char> >]' C:/DevRoots/Boost/boost_1_33/boost/regex/v4/instances.hpp:196: error: duplicate explicit instantiation of `bool boost::re_detail::perl_matcher<BidiIterator, Allocator, traits>::match() [with BidiIterator = const char*, Allocator = stlp_std::allocator<boost::sub_match<const char*> >, traits = boost::regex_traits<char, boost::cpp_regex_traits<char> >]' C:/DevRoots/Boost/boost_1_33/boost/regex/v4/instances.hpp:197: error: duplicate explicit instantiation of `bool boost::re_detail::perl_matcher<BidiIterator, Allocator, traits>::find() [with BidiIterator = const char*, Allocator = stlp_std::allocator<boost::sub_match<const char*> >, traits = boost::regex_traits<char, boost::cpp_regex_traits<char> >]' It looks like the code is supposed to be guarded for GCC but it might be conflicting since it's STLport also. Any ideas? -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
participants (2)
-
John Maddock
-
Rene Rivera