gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] several messages


From: Greg Troxel
Subject: Re: [gpsd-dev] several messages
Date: Mon, 15 Aug 2016 19:41:01 -0400
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (berkeley-unix)

"Gary E. Miller" <address@hidden> writes:

>> It appears that the "officially recommended" way to get a
>> C99-compliant compiler is to invoke it as 'c99', rather than as
>> 'cc' (or 'gcc').
>
> Not that I can see.  The official way, the C99 specified way, is to
> declare this define: _ISOC99_SOURCE
>
> Since gpsd requires C99 compliance, annd that is part of the C99 standard,
> I'm gonna add it to the Sonstruct right now.

The other thing that works with gcc and clang is to add --std=c99.  I am
not sure if that is duplicative with the define you mentioned, but it
seems to be the normal way to tell the compiler to disable gcc
extensions and to follow the C99 standard as strictly as it can.

Attachment: signature.asc
Description: PGP signature


reply via email to

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