
Gennaro Prota wrote:
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 :)
I've been working on making such changes for some time now <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?BoostConfig>. But it's very slow going as I have almost no free time. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo