[Devel] -Werror hit

Norman Brandinger norm at goes.com
Mon Dec 5 13:21:25 CET 2005


Hi Juha,

If you remove -Werror the compile should continue.

Regards,
Norm

Juha Heinanen wrote:
> i tried to compile openser HEAD and was hit by -Werror:
>
> 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
>
> -- juha
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
>   




More information about the Devel mailing list