gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Fedora 24, gcc 6.1.1 - 'memory_order_seq_cst' was not dec


From: Fred Wright
Subject: Re: [gpsd-dev] Fedora 24, gcc 6.1.1 - 'memory_order_seq_cst' was not declared in this scope
Date: Fri, 14 Oct 2016 16:24:58 -0700 (PDT)

On Sat, 8 Oct 2016, Bernd Zeimetz wrote:
> On 09/27/2016 11:21 PM, Robert Norris wrote:
> > On my Debian system with gcc 6.2, I can use the fix as per Debian (see
> > https://github.com/bzed/pkg-gpsd/commit/1444f940b802341a507258031eee6fde75bedf1f)
> >
> > Although this leads to lots of warnings on every compilation with gcc:
> >
> > "cc1: warning: command line option '-std=gnu++98' is valid for
> > C++/ObjC++ but not for C"
> >
> > Using this method both CFLAGS and CXXFLAGS seem to need setting. (Just
> > setting CXXFLAGS doesn't seem to work - even if the compile failure is
> > in using g++ for the qt build).
>
> The reason for that is that scons compiles c++ code with cflags only
> somewhere - I think in the qt library stuff. Not sure where exacly, but
> it will barf if you remove it from cflags. Better patches are welcome :)

Does putting it in CCFLAGS work?

Bernd:

Since you're here, how about responding to:

http://lists.nongnu.org/archive/html/gpsd-dev/2016-09/msg00067.html

This relates to your patch.

Fred Wright



reply via email to

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