[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.
signature.asc
Description: PGP signature
- Re: [gpsd-dev] Lots of warnings, (continued)
- Re: [gpsd-dev] Lots of warnings, Gary E. Miller, 2016/08/15
- Re: [gpsd-dev] Lots of warnings, Fred Wright, 2016/08/15
- Re: [gpsd-dev] Lots of warnings, Eric S. Raymond, 2016/08/15
- Re: [gpsd-dev] several messages, Fred Wright, 2016/08/15
- Re: [gpsd-dev] several messages, Gary E. Miller, 2016/08/15
- Re: [gpsd-dev] several messages, Greg Troxel, 2016/08/15
- Re: [gpsd-dev] several messages, Gary E. Miller, 2016/08/15
- Re: [gpsd-dev] several messages, Fred Wright, 2016/08/15
- Re: [gpsd-dev] several messages, Greg Troxel, 2016/08/15
- Re: [gpsd-dev] several messages, Gary E. Miller, 2016/08/15
- Re: [gpsd-dev] several messages,
Greg Troxel <=
- Re: [gpsd-dev] several messages, Sanjeev Gupta, 2016/08/16
- Re: [gpsd-dev] Lots of warnings, Gary E. Miller, 2016/08/15
- Re: [gpsd-dev] Lots of warnings, Hal Murray, 2016/08/12
- Re: [gpsd-dev] Today's warnings.... / Lots of warnings, Fred Wright, 2016/08/12
- Re: [gpsd-dev] Lots of warnings, Fred Wright, 2016/08/10
- Re: [gpsd-dev] Lots of warnings, Hal Murray, 2016/08/10
- Re: [gpsd-dev] Lots of warnings, Norton Allen, 2016/08/10