Re: [Warzone-dev] [Warzone-commits] r4403 - in /trunk: ./ lib/framework/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/widget/ src/
Per Inge Mathisen schreef: On Sat, Mar 29, 2008 at 8:48 PM, Giel van Schijndel [EMAIL PROTECTED] wrote: Apparently Buginator had the same issues, and after a short debugging session on IRC we found out that upgrading Flex from 2.5.34 to 2.5.35 solved this issue for the both of us. The currently required version is 2.5.33 (checked in autogen.sh). Should we increase this to 2.5.35, or is this too new? 2.5.35 only made it into Debian testing two or three days ago. So I think requiring that may come somewhat too soon. Especially so since it will only be necessary for builds that have --enable-debug set to a level that enables -Werror. -- Giel signature.asc Description: OpenPGP digital signature ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [Warzone-dev] [Warzone-commits] r4403 - in /trunk: ./ lib/framework/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/widget/ src/
On Sat, Mar 29, 2008 at 1:26 AM, Giel van Schijndel [EMAIL PROTECTED] wrote: -Wmissing-declarations causes compiling of the lexers to generate warnings, which due to -Werror now fail to compile. I am sorry about that. Can you post the warnings? - Per ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [Warzone-dev] [Warzone-commits] r4403 - in /trunk: ./ lib/framework/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/widget/ src/
Per Inge Mathisen schreef: On Sat, Mar 29, 2008 at 1:26 AM, Giel van Schijndel [EMAIL PROTECTED] wrote: -Wmissing-declarations causes compiling of the lexers to generate warnings, which due to -Werror now fail to compile. I am sorry about that. Can you post the warnings? strres_lexer.l seems to be the only one affected: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DYY_NO_INPUT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -DDEBUG -DDATADIR=\/usr/local/share/warzone2100\ -DLOCALEDIR=\/usr/local/share/locale\ -I../.. -O0 -g -Wall -Werror -Wno-unused-label -Wno-pointer-to-int-cast -Wmissing-field-initializers -Wcast-align -Wmissing-declarations -MT strres_lexer.lex.o -MD -MP -MF .deps/strres_lexer.lex.Tpo -c -o strres_lexer.lex.o strres_lexer.lex.c cc1: warnings being treated as errors strres_lexer.lex.c:1721: warning: no previous declaration for 'strres_get_lineno' strres_lexer.lex.c:1730: warning: no previous declaration for 'strres_get_in' strres_lexer.lex.c:1738: warning: no previous declaration for 'strres_get_out' strres_lexer.lex.c:1746: warning: no previous declaration for 'strres_get_leng' strres_lexer.lex.c:1755: warning: no previous declaration for 'strres_get_text' strres_lexer.lex.c:1764: warning: no previous declaration for 'strres_set_lineno' strres_lexer.lex.c:1776: warning: no previous declaration for 'strres_set_in' strres_lexer.lex.c:1781: warning: no previous declaration for 'strres_set_out' strres_lexer.lex.c:1786: warning: no previous declaration for 'strres_get_debug' strres_lexer.lex.c:1791: warning: no previous declaration for 'strres_set_debug' make[1]: *** [strres_lexer.lex.o] Error 1 -- Giel signature.asc Description: OpenPGP digital signature ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [Warzone-dev] [Warzone-commits] r4403 - in /trunk: ./ lib/framework/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/widget/ src/
Giel van Schijndel schreef: Per Inge Mathisen schreef: On Sat, Mar 29, 2008 at 1:26 AM, Giel van Schijndel [EMAIL PROTECTED] wrote: -Wmissing-declarations causes compiling of the lexers to generate warnings, which due to -Werror now fail to compile. I am sorry about that. Can you post the warnings? strres_lexer.l seems to be the only one affected: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DYY_NO_INPUT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -DDEBUG -DDATADIR=\/usr/local/share/warzone2100\ -DLOCALEDIR=\/usr/local/share/locale\ -I../.. -O0 -g -Wall -Werror -Wno-unused-label -Wno-pointer-to-int-cast -Wmissing-field-initializers -Wcast-align -Wmissing-declarations -MT strres_lexer.lex.o -MD -MP -MF .deps/strres_lexer.lex.Tpo -c -o strres_lexer.lex.o strres_lexer.lex.c cc1: warnings being treated as errors strres_lexer.lex.c:1721: warning: no previous declaration for 'strres_get_lineno' strres_lexer.lex.c:1730: warning: no previous declaration for 'strres_get_in' strres_lexer.lex.c:1738: warning: no previous declaration for 'strres_get_out' strres_lexer.lex.c:1746: warning: no previous declaration for 'strres_get_leng' strres_lexer.lex.c:1755: warning: no previous declaration for 'strres_get_text' strres_lexer.lex.c:1764: warning: no previous declaration for 'strres_set_lineno' strres_lexer.lex.c:1776: warning: no previous declaration for 'strres_set_in' strres_lexer.lex.c:1781: warning: no previous declaration for 'strres_set_out' strres_lexer.lex.c:1786: warning: no previous declaration for 'strres_get_debug' strres_lexer.lex.c:1791: warning: no previous declaration for 'strres_set_debug' make[1]: *** [strres_lexer.lex.o] Error 1 Apparently Buginator had the same issues, and after a short debugging session on IRC we found out that upgrading Flex from 2.5.34 to 2.5.35 solved this issue for the both of us. -- Giel signature.asc Description: OpenPGP digital signature ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [Warzone-dev] [Warzone-commits] r4403 - in /trunk: ./ lib/framework/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/widget/ src/
Per I. Mathisen schreef: Author: per Date: Sat Mar 29 00:28:44 2008 New Revision: 4403 URL: http://svn.gna.org/viewcvs/warzone?rev=4403view=rev Log: Add -Wcast-align and -Wmissing-declarations to autoconf debug builds, and fix warnings. Modified: trunk/configure.ac -Wmissing-declarations causes compiling of the lexers to generate warnings, which due to -Werror now fail to compile. -- Giel signature.asc Description: OpenPGP digital signature ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev