Update for ncurses-6.3
Brought to you by:
merunka
jcursesdisplay.c: always use "%s"-style format for printf()-style functions
ncuses-6.3
added printf-style function attributes and now makes
it easier to catch cases when user input is used in palce of format
string when built with CFLAGS=-Werror=format-security:
jcursesdisplay.c:111:17: error: format not a string literal and no format arguments [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-security-Werror=format-security8;;] 111 | mvprintw(2, 0, statusMessage); | ^~~~~~~~
Let's wrap all the missing places with "%s" format.