[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: |
Bernd Zeimetz |
Subject: |
Re: [gpsd-dev] Fedora 24, gcc 6.1.1 - 'memory_order_seq_cst' was not declared in this scope |
Date: |
Sat, 8 Oct 2016 01:47:31 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0 |
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 :)
--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
- Re: [gpsd-dev] Fedora 24, gcc 6.1.1 - 'memory_order_seq_cst' was not declared in this scope,
Bernd Zeimetz <=