gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] gpsd fails to build with gcc 5 / -std=gnu11


From: Bernd Zeimetz
Subject: Re: [gpsd-dev] gpsd fails to build with gcc 5 / -std=gnu11
Date: Mon, 21 Sep 2015 10:35:03 +0200
User-agent: Roundcube Webmail/1.1.2

On 2015-09-21 02:19, Jon Schlueter wrote:
those won't apply cleanly unless I'm missing something for older
compilers.  They will require a bit of work to guard cleanly for both
gcc5 and older compilers/distros

imho the way it is done in gpsd.h is wrong anyway - even scons has
functions to check if a type is define or if some function exists.

http://www.scons.org/doc/HTML/scons-api/SCons.Conftest-module.html

The current way depends far too much on compiler/libc versions.
At least the posix defines should be used instead, I could imagine
there are some more than the one I found in the manpages...


Jon

On Sun, Sep 20, 2015 at 12:14 PM, Bernd Zeimetz <address@hidden> wrote:

hi,

so far I found some missing defines and various othe rbuild errors
when
trying to build gpsd in debian unstable/experimental unsing gcc5
(which
defaults to -std=gnu11).

Somebody please review the attached patches and apply them.

Cheers,

Bernd

--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de [1]
http://www.debian.org [2]
GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F



Links:
------
[1] http://bzed.de
[2] http://www.debian.org

--
 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



reply via email to

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