config/compiler/gcc.hpp: Unknown compiler version

Hi, when using Boost with the latest GCC CVS-HEAD version, I get a warning from <boost/config/compiler/gcc.hpp> at this point: // // versions check: // we don't know gcc prior to version 2.90: #if (__GNUC__ == 2) && (__GNUC_MINOR__ < 90) # error "Compiler not configured - please reconfigure" #endif // // last known and checked version is 4.0 (Pre-release): #if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 0)) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" # else # warning "Unknown compiler version - please run the configure tests and report the results" # endif #endif When called with '-v', my GCC reports itself as: gcc-4.1.0 (GCC) 4.1.0 20050329 (experimental) I have also run the configure script and obtained this user configuration file as a result: | // Use this file to define a site and compiler specific | // configuration policy, this version was auto-generated by | // configure on Mon Apr 11 15:26:50 CEST 2005 | // With the following options: | // CXX = g++ | // CXXFLAGS = -I./../.. -I./../../libs/config/test -g -O2 -DBOOST_NO_CONFIG | // LDFLAGS = | // LIBS = -lrt -lm -lpthread | | [...] | | #ifndef BOOST_NO_CONFIG | # define BOOST_NO_CONFIG | #endif | | [...] | | // | // options added by configure: | // | #define BOOST_MSVC6_MEMBER_TEMPLATES | #define BOOST_HAS_UNISTD_H | #define BOOST_HAS_STDINT_H | #define BOOST_HAS_SIGACTION | #define BOOST_HAS_SCHED_YIELD | #define BOOST_HAS_PTHREADS | #define BOOST_HAS_PTHREAD_YIELD | #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE | #define BOOST_HAS_PARTIAL_STD_ALLOCATOR | #define BOOST_HAS_NRVO | #define BOOST_HAS_NL_TYPES_H | #define BOOST_HAS_NANOSLEEP | #define BOOST_HAS_LONG_LONG | #define BOOST_HAS_GETTIMEOFDAY | #define BOOST_HAS_DIRENT_H | #define BOOST_HAS_CLOCK_GETTIME | #define BOOST_NO_IS_ABSTRACT I hope this helps in any way. If there's anything else I can do to help getting gcc 4.1.x supported, let me know. Peter

Peter Simons <simons@cryp.to> writes: | I hope this helps in any way. If there's anything else I can | do to help getting gcc 4.1.x supported, let me know. Wait for it to get closer to release? gcc 4.0.0 will be released shortly. IMHO if you want boost to compile warning-free with gcc CVS HEAD, you should just update the file locally. Boost CVS should only be updated when gcc 4.1 is closer to release. -- Lgb

Hi, I get the following when building from CVS head checkout: don't know how to make <@boost!libs!iostreams!build>../src/graphviz_graph_lex.cpp don't know how to make <@boost!libs!iostreams!build>../src/graphviz_digraph_lex.cpp don't know how to make <@boost!libs!iostreams!build>../src/graphviz_graph_parser.cpp don't know how to make <@boost!libs!iostreams!build>../src/graphviz_digraph_parser.cpp don't know how to make <@boost!libs!iostreams!build>../src/read_graphviz_spirit.cpp Nothing obvious in the respective Jamfiles to account for the above. What am I doing wrong? Kon Build cmd is: bjam "-sTOOLS=darwin" \ "-sBUILD=debug release <runtime-link>static/dynamic <threading>single/multi" \ --with-python-root=$PYTHON_ROOT --with-pydebug \ stage
participants (3)
-
Kon Lovett
-
larsbj@gullik.net
-
Peter Simons