Boost logo

Boost :

From: Martin Wille (mw8329_at_[hidden])
Date: 2003-06-12 15:36:05


Hi,

the attached patch changes the order in which compilers are checked in
config/select_compiler.hpp. This is required to detect Comeau C++
with gcc backend correctly.

ok to apply?

Regards,
m

Index: select_compiler_config.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/config/select_compiler_config.hpp,v
retrieving revision 1.5
diff -u -r1.5 select_compiler_config.hpp
--- select_compiler_config.hpp 23 May 2003 07:03:20 -0000 1.5
+++ select_compiler_config.hpp 12 Jun 2003 20:31:36 -0000
@@ -10,13 +10,14 @@
 // locate which compiler we are using and define
 // BOOST_COMPILER_CONFIG as needed:
 
-#if defined __GNUC__
+# if defined __COMO__
+// Comeau C++
+# define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
+
+# elif defined __GNUC__
 // GNU C++:
 # define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"
 
-# elif defined __COMO__
-// Comeau C++
-# define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
 
 #elif defined __KCC
 // Kai C++


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