On Wed, Apr 03, 2019 at 12:43:30AM +0300, Emil Fihlman wrote: > Package: libncursesw5-dev > Packages: libncursesw?5.* > Version: 6.0+20161126-1+deb9u2 (for libncursesw5-dev) > > warning: implicit declaration of function ‘mvaddnwstr’ > [-Wimplicit-function-declaration] when compiling with -lncursesw. > However, the resulting binary _does_ work so the linker does find the > correct function. > > I suggest the development package be corrected.
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. man mvaddnwstr int mvaddnwstr(int y, int x, const wchar_t *wstr, int n); ^^^^^^^^^^^^^^^^^^^ (wide-character) -- Thomas E. Dickey <dic...@invisible-island.net> https://invisible-island.net ftp://ftp.invisible-island.net
signature.asc
Description: Digital signature