summaryrefslogtreecommitdiff
path: root/build.txt
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-06-12 12:34:21 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-06-12 12:34:21 -0400
commit020c83e426a3bbd594aa97a379aa250572bae98d (patch)
treebf4a1740b1330a6d8db4dc409611a2673116102f /build.txt
parent26b2bfa23564d12eda894ca662f9f54242c75cc1 (diff)
downloadgpsd-020c83e426a3bbd594aa97a379aa250572bae98d.tar.gz
A portability note.
Diffstat (limited to 'build.txt')
-rw-r--r--build.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/build.txt b/build.txt
index 1f55f8ed..4a60cbe4 100644
--- a/build.txt
+++ b/build.txt
@@ -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