Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2002-08-20 05:46:29


> P.S.: As to g++ versions, does someone know if this is correct?
>
> #if defined (__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ <= 95
> #define HAS_OLD_IOSTREAMS
> #endif
>
> Or, maybe, just this?
>
> #if __GNUC__ < 3
> #define HAS_OLD_IOSTREAMS
> #endif

No, both of those fail if the user is using STLport. Although if we put it
in boost/config/stdlib/sgi.hpp then it may work. Is this a particular macro
you need (I take it that it is?).

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm


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