[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] several messages
From: |
Fred Wright |
Subject: |
Re: [gpsd-dev] several messages |
Date: |
Mon, 15 Aug 2016 17:07:47 -0700 (PDT) |
On Mon, 15 Aug 2016, Greg Troxel wrote:
> "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.
However, that's specific to gcc/clang. The point of the POSIX 'c99'
command (when it exists) is to hide such details.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html
Fred Wright
- Re: [gpsd-dev] Lots of warnings, (continued)
- Re: [gpsd-dev] Lots of warnings, Greg Troxel, 2016/08/12
- Re: [gpsd-dev] Lots of warnings, Gary E. Miller, 2016/08/12
- Re: [gpsd-dev] Lots of warnings, Joshua Judson Rosen, 2016/08/15
- 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 <=
- 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, 2016/08/16
- 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