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++
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to