gpsd-dev
[Top][All Lists]
Advanced

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

[gpsd-dev] Git head broken


From: Gary E. Miller
Subject: [gpsd-dev] Git head broken
Date: Mon, 25 Aug 2014 13:22:28 -0700

Yo All!

I'm back in the office, seeing gpsd is about to release.  But git-head
will not build for me:

g++ -o libgps_core-qt.os -c -D_GNU_SOURCE -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wpointer-arith -Wreturn-type -pthread -Wmissing-prototypes 
-Wmissing-declarations -O2 -fPIC -DUSE_QT -DQT_SHARED -I/usr/include/qt4 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore libgps_core.c
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for 
C/ObjC but not for C++ [enabled by default]
In file included from libgps_core.c:18:0:
libgps.h:34:12: error: previous declaration of 'int json_ais_read(const char*, 
char*, size_t, ais_t*, const char**)' with 'C++' linkage
 extern int json_ais_read(const char *, char *, size_t, struct ais_t *,
            ^
In file included from libgps_core.c:19:0:
gps_json.h:41:28: error: conflicts with new declaration with 'C' linkage
     /address@hidden@*/const char **);
                            ^
scons: *** [libgps_core-qt.os] Error 1
scons: building terminated because of errors.

dagwood gpsd # gcc-config -l
 [1] x86_64-pc-linux-gnu-4.8.3 *
dagwood gpsd # 



RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
        address@hidden  Tel:+1(541)382-8588



reply via email to

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