[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Git head broken
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] Git head broken |
Date: |
Wed, 27 Aug 2014 02:22:40 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Gary E. Miller <address@hidden>:
> My bet is scons has a bug in it and libgps_core.c should be compiled as C and
> not C++.
That doesn't explain why building with Qt used to work asnd now fails.
> I peeked at the SContruct file. It seems to me this is incorrect:
>
> for src in libgps_sources:
> if src not in
> ('ais_json.c','json.c','libgps_json.c','rtcm2_json.c','rtcm3_json.c','shared_json.c'):
> compile_with = qt_env['CXX']
> compile_flags = qt_flags
> else:
>
> Seems to me it should look at the extention, or at least include libgps_core.c
You may be right. Try it. I've tried every trick I can think of
(forcing variables, etc.) to reproduce the breakage and I can't induce
it. Thus, I can't verify potential fixes.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>