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: Tue, 16 Aug 2016 07:45:56 -0400
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (berkeley-unix)

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

>> [/usr/bin/c99]
>
> Two things. 
>
> It fixes a problem I have not seen yet.  Yes my head is in the sand.

fair enough on this point

> I puts a cap at c99, not a floor at c99.

For portability, it's important to refrain from using features not
guaranteed by the standard.  So a cap is right.

> And sadly, I'm finding a ton of code that is not C99 compliant, many
> patches in progress.

That's interesting, and probably useful.

One issue that may or may not arise, is that I found (in another
context) that some headers on Linux are not C99 compliant, I think in
pthread.h.  We had code that we could compile with --std=c99 on many
systems except Linux, where it would blow up in pthread.h.  So we left
it --std=gnu99 on Linux, and ensured portability with the others.

Attachment: signature.asc
Description: PGP signature


reply via email to

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