fwiw, I routinely build with warnings enabled (and don't have a use for
-Werror).
For the rest - I'm typically seeing only extra warnings that
you wouldn't see with -Wall (such as const mismatches, which are
problematic).
That's for ncurses itself, plus lynx and dialog.
curses.h isn't including <wctype.h>, since none of its declarations need it.
That's iswgraph and iswspace.
You're seeing implicit for get_wch, since there's no _XOPEN_SOURCE_EXTENDED
in the compile line. Quoting from man ncurses
You must also define _XOPEN_SOURCE_EXTENDED when compiling for the
wide-character library to use the extended (wide-character) func-
tions. The curses.h file which is installed for the wide-charac-
ter library is designed to be compatible with the normal library's
header. Only the size of the WINDOW structure differs, and very
few applications require more than a pointer to WINDOWs. If the
headers are installed allowing overwrite, the wide-character
library's headers should be installed last, to allow applications
to be built using either library from the same set of headers.
--
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Attachment:
signature.asc
Description: Digital signature