gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Bernd's CheckFunc Fix


From: Fred Wright
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
Date: Tue, 24 Jan 2017 14:00:50 -0800 (PST)

On Mon, 23 Jan 2017, Bernd Zeimetz wrote:
> On 2017-01-22 22:53, Fred Wright wrote:
> > On Sun, 22 Jan 2017, Bernd Zeimetz wrote:
[...]
> >> To make gpsd build with QT you'll have to use
> >> -std=gnu++98
> >> (or maybe something else will work, too).
> >
> > That doesn't seem to be necessary on OSX, where it builds successfully
> > with either Qt4 or Qt5, but I'm mostly ignoring Qt issues until I see
> > what
> > Jon does.
>
> Wild guess: qt was compiled with the option on linux.

Not-so-wild guess:  The change to compiler.h to make it use the C++11
version of atomics rendered it incapable of building for C++11 within an
'extern "C"'.  At present, that only happens in the Qt build.  Forcing
C++98 helps by making it *not* C++11.

[...]
> > own.  Is it possible that the original problem was just a "misleading
> > observation", similar to the recently discussed issue where a build
> > failure that appeared to be a cleaning problem was actually unrelated
> > to
> > cleaning?
>
> Defnitely not, I straced it down to what scons executes / compiles.

But did you determine how a warning became an error?  That's the only
missing piece of the puzzle.

Fred Wright



reply via email to

[Prev in Thread] Current Thread [Next in Thread]