On Sun, 17 Jul 2011, Ray Dillinger wrote:
On 07/17/2011 05:10 PM, Thomas Dickey wrote:
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
On 07/18/2011 07:35 AM, Ray Dillinger wrote:
On 07/17/2011 05:10 PM, Thomas Dickey wrote:
You're seeing implicit for get_wch, since there's no _XOPEN_SOURCE_EXTENDED
in the compile line.
Okay, after checking:
bear@janus:~/src/xxh$ make display.o
gcc -D_XOPEN_SOURCE_EXTENDED -Wall
On Mon, 18 Jul 2011, Matthias Klose wrote:
On 07/18/2011 07:35 AM, Ray Dillinger wrote:
On 07/17/2011 05:10 PM, Thomas Dickey wrote:
You're seeing implicit for get_wch, since there's no _XOPEN_SOURCE_EXTENDED
in the compile line.
Okay, after checking:
bear@janus:~/src/xxh$ make display.o
Ray Dillinger b...@sonic.net writes:
display.c starts with the lines:
#define _X_OPEN_SOURCE_EXTENDED
There is an extra underscore after the X.
Correcting that fixes the implicit-declaration error for me.
Also, for consistency with other uses of this macro, it would be
best to define it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
bear@janus:~/src/xxh$ make display.o
gcc -D_XOPEN_SOURCE_EXTENDED -Wall -Werror -lncursesw -c -o display.o \
display.c
bear@janus:~/src/xxh$
should't the ncursesw headers be used?
Sorry, don't understand your message. The ncursesw header is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 07/18/2011 02:31 AM, Kalle Olavi Niemitalo wrote:
Ray Dillinger b...@sonic.net writes:
display.c starts with the lines:
#define _X_OPEN_SOURCE_EXTENDED
There is an extra underscore after the X.
Correcting that fixes the
On 07/18/2011 04:39 PM, Ray Dillinger wrote:
plus, your example will fail when using -Wl,--as-needed. move the
library behind
the objects.
Okay... The synopsis of gcc in the man page says the file to be
compiled should come last in the compile line. That's the only thing
I can see here
Your message dated Mon, 18 Jul 2011 19:14:25 +0200
with message-id 4e2469f1.8020...@debian.org
and subject line Re: Bug#634200: #634200 gcc -Wall -Werror -lncurses fails to
link wide-character ncursesw functions.
has caused the Debian Bug report #634200,
regarding gcc -Wall -Werror -lncurses
8 matches
Mail list logo