Boost logo

Boost :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-09-14 08:38:03

John Maddock wrote:
>>>>+#if defined(__MINGW32__) && (__GNUC__ == 3) && (__GNUC_MINOR__ >= 4)
>>>What's wrong with GCC 4?
>>It doesn't exist in MinGW form yet, not even in beta. So it would be
>>wrong of me to assume that it will have the same support.
> Maybe the right macros to use are one of:
> __MINGW32_VERSION Runtime version.
> __MINGW32_MAJOR_VERSION Runtime major version.
> __MINGW32_MINOR_VERSION Runtime minor version.
> __MINGW32_BUILD_DATE Runtime build date.
> Thoughts?

I wish :-) I stayed away from using them as those are only defined
_after_ including an stdlib header. I.e. they aren't defined by the
compiler but the runtime files. But if you think it's safe to assume
that the runtime info is defined I'll use them. And I would guess
similar changes should be made in other places?

-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. -
-- rrivera/ - grafik/
-- 102708583/icq - grafikrobot/aim - Grafik/

Boost list run by bdawes at, gregod at, cpdaniel at, john at