[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. dev-3.19a-270-g7
From: |
Gary E. Miller |
Subject: |
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. dev-3.19a-270-g71bd775 |
Date: |
Tue, 29 Jan 2019 17:57:02 -0500 (EST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GPSD".
The branch, master has been updated
via 71bd775bb579b8aabccfb6cd36a17a8281070829 (commit)
from f9eec8959fe2f10a9ceb71b534ed743f3d6b2909 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 71bd775bb579b8aabccfb6cd36a17a8281070829
Author: Sanjeev Gupta <address@hidden>
Date: Tue Jan 29 21:53:58 2019 +0800
Fix a warning from gcc: vwprintw is deprecated
The function vwprintw, declared in curses.h is called out by gcc
because of its use of varargs.h . The actaul implementation uses
stdarg.h , however GCC does not know this. Switch to the newer
calling form to make gcc happy.
gcc -o gpsmon.o -c -pthread -Wall -Wcast-align -Wextra
-Wimplicit-fallthrough -Wmissing-declarations -Wmissing-prototypes
-Wno-missing-field-initializers -Wno-uninitialized -Wpointer-arith
-Wreturn-type -Wstrict-prototypes -Wvla -O2 -pthread -DHAVE_SYS_TIMEPPS_H=1
-D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/dbus-1.0
-I/usr/lib/i386-linux-gnu/dbus-1.0/include -I/usr/include/libusb-1.0 gpsmon.c
gpsmon.c: In function 'monitor_vcomplain':
gpsmon.c:392:5: warning: 'vwprintw' is deprecated
[-Wdeprecated-declarations]
(void)vwprintw(cmdwin, (char *)fmt, ap);
^
In file included from gpsmon.h:11,
from gpsmon.c:31:
/usr/include/curses.h:816:28: note: declared here
extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *,va_list)
GCC_DEPRECATED(use vw_printw); /* implemented */
^~~~~~~~
gpsmon.c: In function 'monitor_log':
gpsmon.c:419:2: warning: 'vwprintw' is deprecated
[-Wdeprecated-declarations]
(void)vwprintw(packetwin, (char *)fmt, ap);
^
In file included from gpsmon.h:11,
from gpsmon.c:31:
/usr/include/curses.h:816:28: note: declared here
extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *,va_list)
GCC_DEPRECATED(use vw_printw); /* implemented */
^~~~~~~~
Signed-off-by: Gary E. Miller <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
gpsmon.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GPSD
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-commit-watch] [SCM] GPSD branch, master, updated. dev-3.19a-270-g71bd775,
Gary E. Miller <=