Boost logo

Boost :

From: Christopher Currie (christopher_at_[hidden])
Date: 2003-11-12 14:25:12


Sun CC still seems to have difficulty with partial ordering of function
templates. Adding '#define BOOST_NO_FUNCTION_TEMPLATE_ORDERING' fixes
regressions in libs/bind/test/bind_test.cpp.

Ok to commit?

Christopher

Index: sunpro_cc.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/config/compiler/sunpro_cc.hpp,v
retrieving revision 1.16
diff -u -r1.16 sunpro_cc.hpp
--- sunpro_cc.hpp 4 Oct 2003 11:28:55 -0000 1.16
+++ sunpro_cc.hpp 12 Nov 2003 19:21:16 -0000
@@ -13,7 +13,7 @@
 
 # if __SUNPRO_CC <= 0x500
 # define BOOST_NO_MEMBER_TEMPLATES
-# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
+// # define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
 # endif
 
 # if (__SUNPRO_CC <= 0x520)
@@ -62,6 +62,7 @@
        // see http://lists.boost.org/MailArchives/boost/msg47184.php
        // and http://lists.boost.org/MailArchives/boost/msg47220.php
 # define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
+# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
 # endif
 
 #define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC)


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