Boost logo

Boost :

From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2002-03-05 22:22:31


On Tue, Mar 05, 2002 at 06:22:28PM -0500, David Abrahams wrote:
> Lots of people are still using 2.95.x; I can't even build a 3.0.x
> version of MinGW. I don't think we want to do this unconditionally.

Is BOOST_NO_STRINGSTREAM the macro that you use
to determine if a platform/compiler combination
as <sstream> or not?

If so, is this patch acceptable?

Index: gcc.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/config/compiler/gcc.hpp,v
retrieving revision 1.11
diff -u -u -r1.11 gcc.hpp
--- gcc.hpp 2 Feb 2002 18:36:11 -0000 1.11
+++ gcc.hpp 6 Mar 2002 03:20:07 -0000
@@ -48,6 +48,14 @@
 #if (__GNUC__ == 2) && (__GNUC_MINOR__ < 90)
 # error "Compiler not configured - please reconfigure"
 #endif
+
+//
+// versions prior to gcc 3.0 did not include <sstream>
+//
+#if (__GNUC__ < 3)
+# define BOOST_NO_STRINGSTREAM
+#endif
+
 //
 // last known and checked version is 3.1:
 #if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1))

If that patch is acceptable, then I can re-write my
patch for any_test.

-- 
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