Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-06-14 08:24:58


Hi guys,

could we please add something like this to the config system?

 #if defined(__GNUC_PATCHLEVEL__)
 # define <choose_a_name> ( __GNUC__ * 10000 \
                                   + __GNUC_MINOR__ * 100 \
                                   + __GNUC_PATCHLEVEL__ )
 #else
 # define <choose_a_name> ( __GNUC__ * 10000 \
                                  + __GNUC_MINOR__ * 100)
 #endif

PS: of course it's possible to "share" the common part of the
replacement-lists:

 ( __GNUC__ * 10000 + __GNUC_MINOR__ * 100)

or

 (100 * ( __GNUC__ * 100 + __GNUC_MINOR__))

The decision is up to John :)

--Gennaro.


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