RE: [AD] gcc 3.x workaround.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Title: RE: [AD] gcc 3.x workaround.

> Henrik Stokseth wrote:
> > On mingw one can make one test program, include
> libiberty.h, and check
> > the preprocessor define GCC_VERSION.
>
> I think __VERSION__ is defined on all gcc platforms (see "Standard
> Predefined Macros" in the gcc info pages). It's a string on the form
> "3.0.1".

GCC version is in __GNUC__ and __GNUC_MINOR__.
Or is it that mingw lacks it ??

--
Vincent Penquerc'h



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/