gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] Patch: adapt to newer autoconf versions


From: Gabriel Dos Reis
Subject: Re: [Gcl-devel] Patch: adapt to newer autoconf versions
Date: Thu, 20 Nov 2008 18:27:13 -0600

On Thu, Nov 20, 2008 at 6:17 PM, Jerry James <address@hidden> wrote:
> On Thu, Nov 20, 2008 at 5:13 PM, Gabriel Dos Reis
> <address@hidden> wrote:
>> So, in fact, we want to check for C99 features, not GNU sources; right?
>>
>> -- Gaby
>
> RIght.  On glibc-based systems, defining _GNU_SOURCE causes
> _ISOC99_SOURCE to also be defined (see /usr/include/features.h), as
> well as _POSIX_C_SOURCE, _XOPEN_SOURCE, and several others.  In short,
> defining _GNU_SOURCE says to activate all features.

Yes, I understand that.  I guess, my point is that GCL runs also
on non GNU systems (e.g. *BSD, MAC, MinGW, etc), and since the
problem is not GNU platform specific, I think we should test for the
features themselves, e.g. isnormal, e.g., if necessary
by supplying -std=c99.

-- Gaby




reply via email to

[Prev in Thread] Current Thread [Next in Thread]