diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-06-12 12:34:21 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-06-12 12:34:21 -0400 |
commit | 020c83e426a3bbd594aa97a379aa250572bae98d (patch) | |
tree | bf4a1740b1330a6d8db4dc409611a2673116102f /build.txt | |
parent | 26b2bfa23564d12eda894ca662f9f54242c75cc1 (diff) | |
download | gpsd-020c83e426a3bbd594aa97a379aa250572bae98d.tar.gz |
A portability note.
Diffstat (limited to 'build.txt')
-rw-r--r-- | build.txt | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -28,9 +28,10 @@ Necessary components for any build: === C compiler === C99 conformance is required in the compiler. The C code depends on one -non-C99 feature: anonymous unions. We could eliminate these, but the -cost would be source-level interface breakage if we have to move -structure members in and out of unions. +non-C99 feature (supported by GCC, clang, and pretty much any C +compiler that also speaks C++): anonymous unions. We could eliminate +these, but the cost would be source-level interface breakage if we +have to move structure members in and out of unions. GPSD is normally built and tested with GCC. If the option -Wmissing-field-initializers or its non-gcc equivalent is set you will |