[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] [PATCH] ntpshm: fix status type
From: |
Mike Frysinger |
Subject: |
Re: [gpsd-dev] [PATCH] ntpshm: fix status type |
Date: |
Thu, 26 Feb 2015 18:28:19 -0500 |
On 26 Feb 2015 18:11, Eric S. Raymond wrote:
> Mike Frysinger <address@hidden>:
> > hmm, context would help. my builds are failing:
> > x86_64-pc-linux-gnu-g++ -o ntpshmread-qt.os -c -O2 -march=amdfam10 -pipe -g
> > \
> > -frecord-gcc-switches -Wimplicit-function-declaration -Wextra -Wall \
> > -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align \
> > -Wmissing-declarations -Wpointer-arith -Wreturn-type \
> > -pthread -Wmissing-declarations -O2 -pthread -fPIC -DCPPFLAGS_TEST
> > -DUSE_QT \
> > -DQT_SHARED -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include \
> > -I/usr/include/qt4 -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore \
> > ntpshmread.c
> > cc1plus: warning: command line option '-Wimplicit-function-declaration' is
> > valid for C/ObjC but not for C++
> > cc1plus: warning: command line option '-Wimplicit-function-declaration' is
> > valid for C/ObjC but not for 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]
> > return shm_stat->status;
> > ^
> > ntpshmread.c:175:22: error: invalid conversion from 'int' to 'segstat_t'
> > [-fpermissive]
> > return shm_stat->status;
> > ^
> > scons: *** [ntpshmread-qt.os] Error 1
>
> Strange. The prerelease build succeeded here.
additional notes:
x86_64-pc-linux-gnu-g++ (Gentoo 4.9.2 p1.0, pie-0.6.1) 4.9.2
GNU C Library (Gentoo 2.21 p2) stable release version 2.21, by Roland McGrath
et al.
-mike
signature.asc
Description: Digital signature