[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] gpsd style change?
From: |
Greg Troxel |
Subject: |
Re: [gpsd-dev] gpsd style change? |
Date: |
Wed, 11 Feb 2015 14:34:13 -0500 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.4 (berkeley-unix) |
"Eric S. Raymond" <address@hidden> writes:
> <p>Avoid dependencies on GCC and glibc, as we must support embedded
> environments using (for example) uClibc.</p>
That needs to be a lot stronger, as:
<p>Do not use GCC extensions, as the code should compile with any sane
C99 compiler (specifically to include clang). Do not use
glibc-specific features, as gpsd is portable to multiple operating
systems that do not use glibc, including BSD's libc and uClibc.
Instead, rely on what POSIX guarantees.</p>
but otherwise looks ok (although I really dislike // comments,
personally, as I find the flexibility of choosing the style leads to
mess).
pgpRXTNhZXGHz.pgp
Description: PGP signature