[Devel] -Werror hit

Juha Heinanen jh at tutpro.com
Mon Dec 5 13:24:51 CET 2005


Norman Brandinger writes:

 > If you remove -Werror the compile should continue.

yes, but i would like to get rid of the warning instead.

-- juha

 > > Compiling lex.yy.c
 > > gcc -g -O9 -funroll-loops  -Wcast-align  -Wall   -minline-all-stringops -malign-double -falign-loops -mcpu=athlon   -Werror    -DNAME='"ser"' -DVERSION='"1.1.0-dev3 "' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -c lex.yy.c -o lex.yy.o
 > > lex.yy.c:2995: warning: `yyunput' defined but not used
 > > make[1]: *** [lex.yy.o] Error 1



More information about the Devel mailing list