Re: [AD] gcc 3.x workaround.

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


Vincent Penquerc'h wrote:
> > 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__.

Yes, but then you only get `3' and `0'; according to the docs there is
no such macro to get the last `1', which is a pity if they are going to
fix the -fomit-frame-pointer bug in 3.0.4.

> Or is it that mingw lacks it ??

I think all these are present on all gcc's.

-- 
Sven Sandberg    svsa1977@xxxxxxxxxx    home.student.uu.se/svsa1977



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