[Top][All Lists]

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

Re: [gpsd-users] C11 support

From: Gary E. Miller
Subject: Re: [gpsd-users] C11 support
Date: Wed, 17 Aug 2016 15:57:08 -0700

Yo Robin!

On Thu, 18 Aug 2016 00:49:31 +0200
Robin Schwab <address@hidden> wrote:

> Dear list
> When I compile gpsd 3.16 using scons I get a warning
> Checking for C header file libkern/OSAtomic.h...
> No memory barriers - SHM export and time hinting may not be reliable.
> But when I run dpkg -l it reads
> ii  cpp              4:4.9.2-2  armhf GNU C preprocessor (cpp)
> ii  cpp-4.9          4.9.2-10   armhf GNU C preprocessor
> As far as I understand memory barriers are part of c11. The compiler
> is new enough to provide C11 but it's not enabled.
> Am I missing something? Or can the warning be ignored?

Nope, you got it.  Given all the horribly broken OS that gpsd supports
we can even inists on many POSIX 2008 features.  Think junk like
CentOS and FreeBSD...

We can try to ship copies of 'newer' functions for back compatibilty
on out of date (yet new) OS, but thing ike memory barriers require
c compiler support that is not standardized.

I'm having trouble just getting POSIX 2001 to work!  FreeBSD is driving
me nuts.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

Attachment: pgpB18ax33_42.pgp
Description: OpenPGP digital signature

reply via email to

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