[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] Git head busted
From: |
Gary E. Miller |
Subject: |
[gpsd-dev] Git head busted |
Date: |
Thu, 17 Oct 2013 16:07:26 -0700 |
Yo Eric!
Better, but git head still busted.
gcc -o ntpshm.o -c -D_GNU_SOURCE -Wextra -Wall -Wno-uninitialized
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type
-Wmissing-prototypes -Wmissing-declarations -O2 -pthread
-I/usr/include/libusb-1.0 ntpshm.c
ntpshm.c:33:8: warning: "/*" within comment [-Wcomment]
ntpshm.c: In function 'getShmTime':
ntpshm.c:161:7: warning: implicit declaration of function 'strerror'
[-Wimplicit-function-declaration]
ntpshm.c:161:7: warning: format '%s' expects argument of type 'char *', but
argument 7 has type 'int' [-Wformat]
ntpshm.c:169:7: warning: format '%s' expects argument of type 'char *', but
argument 4 has type 'int' [-Wformat]
ntpshm.c: In function 'ntpshm_init':
ntpshm.c:194:5: warning: implicit declaration of function 'memset'
[-Wimplicit-function-declaration]
ntpshm.c:194:5: warning: incompatible implicit declaration of built-in function
'memset' [enabled by default]
ntpshm.c: In function 'ntpshm_alloc':
ntpshm.c:210:6: warning: incompatible implicit declaration of built-in function
'memset' [enabled by default]
ntpshm.c: In function 'ntpshm_put':
ntpshm.c:252:5: warning: implicit declaration of function 'modf'
[-Wimplicit-function-declaration]
ntpshm.c:252:32: warning: incompatible implicit declaration of built-in
function 'modf' [enabled by default]
ntpshm.c: In function 'ntpshm_pps':
ntpshm.c:361:5: warning: implicit declaration of function 'fabs'
[-Wimplicit-function-declaration]
ntpshm.c:361:14: warning: incompatible implicit declaration of built-in
function 'fabs' [enabled by default]
ntpshm.c:395:5: warning: implicit declaration of function 'ceil'
[-Wimplicit-function-declaration]
ntpshm.c:395:37: warning: incompatible implicit declaration of built-in
function 'ceil' [enabled by default]
ntpshm.c:395:5: warning: implicit declaration of function 'log'
[-Wimplicit-function-declaration]
ntpshm.c:395:42: warning: incompatible implicit declaration of built-in
function 'log' [enabled by default]
ntpshm.c:395:56: error: 'M_LN2' undeclared (first use in this function)
ntpshm.c:395:56: note: each undeclared identifier is reported only once for
each function it appears in
In file included from /usr/include/sys/un.h:37:0,
from ntpshm.c:421:
/usr/include/string.h: At top level:
/usr/include/string.h:409:14: error: conflicting types for 'strerror'
ntpshm.c:161:19: note: previous implicit declaration of 'strerror' was here
ntpshm.c: In function 'gpsd_ppsmonitor':
ntpshm.c:680:45: error: 'SOCK_DGRAM' undeclared (first use in this function)
ntpshm.c:993:7: warning: implicit declaration of function 'send'
[-Wimplicit-function-declaration]
scons: *** [ntpshm.o] Error 1
scons: building terminated because of errors.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
address@hidden Tel:+1(541)382-8588
signature.asc
Description: PGP signature
- [gpsd-dev] Git head busted,
Gary E. Miller <=