summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-08-18 23:10:06 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-08-18 23:10:06 -0400
commit6c19639b6f8c0e465ae1df5138f0948f1fe8d839 (patch)
tree11a74b22c37664eda0a0970b512a9b74850858ee
parent190517144aac1fff075166ca49af32fd01987e66 (diff)
downloadgpsd-6c19639b6f8c0e465ae1df5138f0948f1fe8d839.tar.gz
Explanatory comment and upstream bug explanation.
-rw-r--r--test_gpsmm.cpp6
-rw-r--r--www/upstream-bugs.html7
2 files changed, 13 insertions, 0 deletions
diff --git a/test_gpsmm.cpp b/test_gpsmm.cpp
index c95bf2b0..88ab2e02 100644
--- a/test_gpsmm.cpp
+++ b/test_gpsmm.cpp
@@ -13,6 +13,12 @@
using namespace std;
+/*
+ * We should get libgps_dump_state() from the client library, but
+ * scons has a bug; we can't get it to add -lgps to the link line,
+ * apparently because it doesn't honor parse_flags on a Program()
+ * build of a C++ file.
+ */
static void libgps_dump_state(struct gps_data_t *collect)
{
/* no need to dump the entire state, this is a sanity check */
diff --git a/www/upstream-bugs.html b/www/upstream-bugs.html
index 47aece20..2af7e82a 100644
--- a/www/upstream-bugs.html
+++ b/www/upstream-bugs.html
@@ -208,6 +208,13 @@ reported seems to vary randomly with level of optimization.</p>
regression-test failures. Dropping back to -O1 or going up to -O3
restores behavior like GCC 4.4.1's.</p>
+<h2 id="scons_cpp">scons doesn't honnor parse_flags in a Program() using C++</h2>
+
+<p>In building test_gpsmm, we should get libgps_dump_state() from the
+client library, but scons has a bug; we can't get it to add -lgps to th,
+apparently because it doesn't honor parse_flags on a Program() build of
+a C++ .cpp file.</p>
+
<h1>Fixed Problems</h1>
<p>We document these here in case you're running on an older system.