
Hi, I tried to compile boost cvs with gcc-4.3 snapshot to see what would happen since libstdc++ cleaned up their header files for 4.3. This produces some errors about missing identifiers, no other include file related problems were found. I have condensed the build log to show the relevant files: ./boost/regex/v4/basic_regex_creator.hpp:1049: error: 'UCHAR_MAX' was not declared in this scope ./boost/regex/v4/basic_regex_creator.hpp:542: error: 'CHAR_BIT' was not declared in this scope ./boost/regex/v4/basic_regex.hpp:387: error: 'UINT_MAX' was not declared in this scope ./boost/regex/v4/basic_regex.hpp:66: error: 'CHAR_BIT' was not declared in this scope ./boost/regex/v4/basic_regex_parser.hpp:425: error: 'CHAR_BIT' was not declared in this scope ./boost/regex/v4/cpp_regex_traits.hpp:365: error: 'CHAR_BIT' was not declared in this scope ./boost/regex/v4/perl_matcher.hpp:34: error: 'CHAR_BIT' was not declared in this scope ./boost/regex/v4/regex_split.hpp:131: error: 'UINT_MAX' was not declared in this scope ./boost/regex/v4/states.hpp:210: error: 'CHAR_BIT' was not declared in this scope ./boost/spirit/phoenix/operators.hpp:355: error: 'INT_MAX' was not declared in this scope ./boost/test/test_tools.hpp:557: error: 'CHAR_BIT' was not declared in this scope ./boost/wave/grammars/cpp_chlit_grammar.hpp:93: error: 'CHAR_BIT' was not declared in this scope Kevin

Kevin Sopp wrote:
I tried to compile boost cvs with gcc-4.3 snapshot to see what would happen since libstdc++ cleaned up their header files for 4.3. This produces some errors about missing identifiers, no other include file related problems were found. I have condensed the build log to show the relevant files:
[snip]
./boost/spirit/phoenix/operators.hpp:355: error: 'INT_MAX' was not declared in this scope ./boost/wave/grammars/cpp_chlit_grammar.hpp:93: error: 'CHAR_BIT' was not declared in this scope
I fixed these two in CVS. Regards Hartmut

Ansi C header. #include <limits.h> Problem solved I should think. Kevin Sopp wrote:
Hi, I tried to compile boost cvs with gcc-4.3 snapshot to see what would happen since libstdc++ cleaned up their header files for 4.3. This produces some errors about missing identifiers, no other include file related problems were found. I have condensed the build log to show the relevant files:
./boost/regex/v4/basic_regex_creator.hpp:1049: error: 'UCHAR_MAX' was not declared in this scope ./boost/regex/v4/basic_regex_creator.hpp:542: error: 'CHAR_BIT' was not declared in this scope ./boost/regex/v4/basic_regex.hpp:387: error: 'UINT_MAX' was not declared in this scope ./boost/regex/v4/basic_regex.hpp:66: error: 'CHAR_BIT' was not declared in this scope ./boost/regex/v4/basic_regex_parser.hpp:425: error: 'CHAR_BIT' was not declared in this scope ./boost/regex/v4/cpp_regex_traits.hpp:365: error: 'CHAR_BIT' was not declared in this scope ./boost/regex/v4/perl_matcher.hpp:34: error: 'CHAR_BIT' was not declared in this scope ./boost/regex/v4/regex_split.hpp:131: error: 'UINT_MAX' was not declared in this scope ./boost/regex/v4/states.hpp:210: error: 'CHAR_BIT' was not declared in this scope ./boost/spirit/phoenix/operators.hpp:355: error: 'INT_MAX' was not declared in this scope ./boost/test/test_tools.hpp:557: error: 'CHAR_BIT' was not declared in this scope ./boost/wave/grammars/cpp_chlit_grammar.hpp:93: error: 'CHAR_BIT' was not declared in this scope
Kevin _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Kevin Sopp wrote:
Hi, I tried to compile boost cvs with gcc-4.3 snapshot to see what would happen since libstdc++ cleaned up their header files for 4.3. This produces some errors about missing identifiers, no other include file related problems were found. I have condensed the build log to show the relevant files:
./boost/regex/v4/basic_regex_creator.hpp:1049: error: 'UCHAR_MAX' was not declared in this scope ./boost/regex/v4/basic_regex_creator.hpp:542: error: 'CHAR_BIT' was
I'll add a <climits> include to fix the regex issues, these will be too late for 1.34 though I'm afraid :-( John.
participants (4)
-
Hartmut Kaiser
-
John Maddock
-
Kevin Sopp
-
Richard Day