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 -Werror -lncursesw -c -o display.o \
> display.c
> bear@janus:~/src/xxh$

should't the ncursesw headers be used? pkg-config --cflags ncursesw

plus, your example will fail when using -Wl,--as-needed. move the library behind
the objects.



-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e23f591.9030...@debian.org

Reply via email to