gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] 3.13 do not compile on an ubuntu 14.04.2 64 bit system...


From: Eric S. Raymond
Subject: Re: [gpsd-dev] 3.13 do not compile on an ubuntu 14.04.2 64 bit system...
Date: Fri, 27 Feb 2015 04:24:33 -0500
User-agent: Mutt/1.5.23 (2014-03-12)

address@hidden <address@hidden>:
> Hallo,
> 
> git pull
> git checkout release-3.13
> scons
> 
> .....
> 
> g++ -o ntpshmread-qt.os -c -Wextra -Wall -Wno-uninitialized 
> -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
> -Wpointer-arith -Wreturn-type -pthread -Wmissing-declarations -O2 -pthread 
> -fPIC -DUSE_QT -DQT_SHARED -I/usr/include/dbus-1.0 
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/qt4 
> -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore ntpshmread.c
> ntpshmread.c: In function 'segstat_t shm_query(shmTime*, shm_stat_t*)':
> ntpshmread.c:102:19: error: invalid conversion from 'int' to 'segstat_t' 
> [-fpermissive]
> ntpshmread.c:175:22: error: invalid conversion from 'int' to 'segstat_t' 
> [-fpermissive]
> scons: *** [ntpshmread-qt.os] Error 1
> scons: building terminated because of errors.
> 
> 
> Reinhard

You and Mike Frysinger.  For the rest of us 3.13 is compiling just fine.
There's a fix patch in the repo.

I'm puzzled about this.  The warning is valid; my compiler probably
should not have passed this code.  I don't know why it did, and I
don't know why your's and Mike's didn't.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

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