[1.40, regex] compile problem in boost/regex/v4/cpp_regex_traits.hpp

when compiling with gcc 3.3.3 (with #ifdef BOOST_REGEX_BUGGY_CTYPE_FACET active) at line 737: There are 16 entries for an array defined as size 14. This does not compile for gcc 3.3.3 at line 827: there is no char_class_horizontal (or vertical). At least I found none. Might be a typo and perhaps should be char_class_horizontal_space instead? If that is no reason for a 1.40.1 (I could understand that), I'd be grateful for a confirmation that the line 827 issue is correctly fixed by adding "_space". Best regards Christoph

when compiling with gcc 3.3.3 (with #ifdef BOOST_REGEX_BUGGY_CTYPE_FACET active)
at line 737: There are 16 entries for an array defined as size 14. This does not compile for gcc 3.3.3
at line 827: there is no char_class_horizontal (or vertical). At least I found none. Might be a typo and perhaps should be char_class_horizontal_space instead?
If that is no reason for a 1.40.1 (I could understand that), I'd be grateful for a confirmation that the line 827 issue is correctly fixed by adding "_space".
Confirmed, and yes, your fix is correct, it's in SVN trunk as this changeset: https://svn.boost.org/trac/boost/changeset/55837/trunk/boost/regex/v4 John.
participants (2)
-
Christoph Duelli
-
John Maddock