[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] GPSD Compile warnings with GCC-8 on Devuan Beowulf
From: |
Mike Tubby |
Subject: |
[gpsd-dev] GPSD Compile warnings with GCC-8 on Devuan Beowulf |
Date: |
Thu, 11 Apr 2019 20:54:31 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Gary, Eric
I got fed up with systemd entanglement on one of our
nameservers/timeservers today so flattened it and rebuilt it with Devuan
Beowulf (like Debian Buster but systemd free) - these OSes come with
GCC-8 which brings new compile warnings to an otherwise clean build:
gpsmon.c: In function 'monitor_vcomplain':
gpsmon.c:393:5: warning: 'vwprintw' is deprecated
[-Wdeprecated-declarations]
(void)vwprintw(cmdwin, (char *)fmt, ap);
^
In file included from gpsmon.h:11,
from gpsmon.c:32:
/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:420:2: warning: 'vwprintw' is deprecated
[-Wdeprecated-declarations]
(void)vwprintw(packetwin, (char *)fmt, ap);
^
In file included from gpsmon.h:11,
from gpsmon.c:32:
/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 */
^~~~~~~~
Mike
- [gpsd-dev] GPSD Compile warnings with GCC-8 on Devuan Beowulf,
Mike Tubby <=