Boost logo

Boost :

From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2002-01-24 03:32:48


Hi,

I just tried compiling boost 1_26_0 with the following
version of gcc and it worked:
gcc version 3.1 20020122 (experimental)

If I preprocess the following macros:
__GNUC__
__GNUC_MINOR__

they expand to:
3
1

So, I think it is OK to make this change:

Index: gcc.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/config/compiler/gcc.hpp,v
retrieving revision 1.8
diff -u -r1.8 gcc.hpp
--- gcc.hpp 2001/12/13 16:24:31 1.8
+++ gcc.hpp 2002/01/24 08:32:35
@@ -49,8 +49,8 @@
 # error "Compiler not configured - please reconfigure"
 #endif
 //
-// last known and checked version is 3.0:
-#if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 0))
+// last known and checked version is 3.1:
+#if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1))
 # if defined(BOOST_ASSERT_CONFIG)
 # error "Unknown compiler version - please run the configure tests and report the results"
 # else

-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc_at_[hidden]          

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk