FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 07-18-2011, 12:10 AM
Thomas Dickey
 
Default Bug#634200: #634200 gcc -Wall -Werror -lncurses fails to link wide-character ncursesw functions.

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
 

Thread Tools




All times are GMT. The time now is 08:15 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org