[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] ✘XCode works again
From: |
Gary E. Miller |
Subject: |
[gpsd-dev] ✘XCode works again |
Date: |
Tue, 16 Aug 2016 13:59:06 -0700 |
Yo All!
I just pushed XCode fixes for OS X. Some new errors, and old
warnings are now gone.
Last warning:
gpsd.c:1997:6: warning: 'daemon' is deprecated: first deprecated in OS X 10.5 -
Use posix_spawn APIs instead. [-Wdeprecated-declarations]
if (daemon(0, 0) != 0)
^
/usr/include/stdlib.h:267:6: note: 'daemon' has been explicitly marked
deprecated here
int daemon(int, int) __DARWIN_1050(daemon)
__OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_5, __IPHONE_2_0,
__IPHONE_2_0, "Use posix_spawn APIs instead.") __WATCHOS_PROHIBITED
__TVOS_PROHIBITED;
daemon() is about the only portable thing, and all OS seem to hate
it.
I'd like it is someone that knows XCode could fix that for OS X.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
pgprD9OJbDDdS.pgp
Description: OpenPGP digital signature