[Lincity-ng-devel] [Bug #16621] Compile error.
Bug #16621, was updated on 2010-Jan-03 00:55 Here is a current snapshot of the bug. Project: LinCityNG Category: new Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: o01eg Assigned to : none Summary: Compile error. Details: When I compile revision 1559 a got next error (I use libxslt-1.1.26): cc1plus: warnings being treated as errors src/lincity/fileutil.cpp: In function void malloc_failure(): src/lincity/fileutil.cpp:501: error: format not a string literal and no format arguments g++ -c -o ./build/x86_64-unknown-linux-gnu/debug/src/lincity/fileutil.o -DHAVE_CONFIG_H -I. -I./src -Isrc/lincity/. -O2 -march=core2 -mtune=core2 -msse -msse2 -msse3 -mmmx -Wall -W -O0 -g3 -DDEBUG -Werror -DDEFAULT_LIBDIR=\/mnt/other/games/lincity-ng.d/share/lincity-ng\ src/lincity/fileutil.cpp ...failed C++ ./build/x86_64-unknown-linux-gnu/debug/src/lincity/fileutil.o ... src/lincity-ng/Dialog.cpp: In member function void Dialog::gameStats(): src/lincity-ng/Dialog.cpp:381: error: format not a string literal and no format arguments src/lincity-ng/Dialog.cpp:381: error: format not a string literal and no format arguments g++ -c -o ./build/x86_64-unknown-linux-gnu/debug/src/lincity-ng/Dialog.o -DHAVE_CONFIG_H -I. -I./src -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -O2 -march=core2 -mtune=core2 -msse -msse2 -msse3 -mmmx -Wall -W -O0 -g3 -DDEBUG -Werror -DAPPDATADIR=\/mnt/other/games/lincity-ng.d/share/lincity-ng\ src/lincity-ng/Dialog.cpp ...failed C++ ./build/x86_64-unknown-linux-gnu/debug/src/lincity-ng/Dialog.o ... runtime error: file data/gui/dialogs/dialogs.xsl line 75 element choose Variable 'title' has not been declared. runtime error: file data/gui/dialogs/dialogs.xsl line 118 element copy-of Variable 'buttonbar' has not been declared. xmlXPathCompiledEval: evaluation failed xsltproc -o data/gui/nobull-tip.xml data/gui/dialogs/dialogs.xsl data/gui/dialogs/nobull-tip.xml ...failed XSLTProc data/gui/nobull-tip.xml ... ...removing data/gui/nobull-tip.xml XSLTProc data/gui/cricketup.xml xsltproc -o data/gui/roadup.xml data/gui/dialogs/dialogs.xsl data/gui/dialogs/roadup.xml ...failed XSLTProc data/gui/roadup.xml ... Follow-Ups: Date: 2010-Jan-03 14:15 By: o01eg Comment: Even I compile release (without -Werror) I got error with processing .xml files: http://dpaste.com/hold/140490/ --- Date: 2010-Jan-03 01:33 By: alainb Comment: I guess it is due to the -Werror compilation flags, which transforms warning into errors. Tiny fix are needed in the code (sorry i have no time currently). --- For detailed info, follow this link: http://developer.berlios.de/bugs/?func=detailbugbug_id=16621group_id=2929 ___ Lincity-ng-devel mailing list Lincity-ng-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/lincity-ng-devel
[Lincity-ng-devel] [Bug #16621] Compile error.
Bug #16621, was updated on 2010-Jan-02 22:55 Here is a current snapshot of the bug. Project: LinCityNG Category: new Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: o01eg Assigned to : none Summary: Compile error. Details: When I compile revision 1559 a got next error (I use libxslt-1.1.26): cc1plus: warnings being treated as errors src/lincity/fileutil.cpp: In function void malloc_failure(): src/lincity/fileutil.cpp:501: error: format not a string literal and no format arguments g++ -c -o ./build/x86_64-unknown-linux-gnu/debug/src/lincity/fileutil.o -DHAVE_CONFIG_H -I. -I./src -Isrc/lincity/. -O2 -march=core2 -mtune=core2 -msse -msse2 -msse3 -mmmx -Wall -W -O0 -g3 -DDEBUG -Werror -DDEFAULT_LIBDIR=\/mnt/other/games/lincity-ng.d/share/lincity-ng\ src/lincity/fileutil.cpp ...failed C++ ./build/x86_64-unknown-linux-gnu/debug/src/lincity/fileutil.o ... src/lincity-ng/Dialog.cpp: In member function void Dialog::gameStats(): src/lincity-ng/Dialog.cpp:381: error: format not a string literal and no format arguments src/lincity-ng/Dialog.cpp:381: error: format not a string literal and no format arguments g++ -c -o ./build/x86_64-unknown-linux-gnu/debug/src/lincity-ng/Dialog.o -DHAVE_CONFIG_H -I. -I./src -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -O2 -march=core2 -mtune=core2 -msse -msse2 -msse3 -mmmx -Wall -W -O0 -g3 -DDEBUG -Werror -DAPPDATADIR=\/mnt/other/games/lincity-ng.d/share/lincity-ng\ src/lincity-ng/Dialog.cpp ...failed C++ ./build/x86_64-unknown-linux-gnu/debug/src/lincity-ng/Dialog.o ... runtime error: file data/gui/dialogs/dialogs.xsl line 75 element choose Variable 'title' has not been declared. runtime error: file data/gui/dialogs/dialogs.xsl line 118 element copy-of Variable 'buttonbar' has not been declared. xmlXPathCompiledEval: evaluation failed xsltproc -o data/gui/nobull-tip.xml data/gui/dialogs/dialogs.xsl data/gui/dialogs/nobull-tip.xml ...failed XSLTProc data/gui/nobull-tip.xml ... ...removing data/gui/nobull-tip.xml XSLTProc data/gui/cricketup.xml xsltproc -o data/gui/roadup.xml data/gui/dialogs/dialogs.xsl data/gui/dialogs/roadup.xml ...failed XSLTProc data/gui/roadup.xml ... Follow-Ups: Date: 2010-Jan-04 00:33 By: alainb Comment: Yes , you are right. It is in the TODO : Generator for dialogs no longer works.(xslt 1.0 vs 1.1 see 2007-04-30 mail) https://lists.berlios.de/pipermail/lincity-ng-devel/2007-April/000153.html --- Date: 2010-Jan-03 12:15 By: o01eg Comment: Even I compile release (without -Werror) I got error with processing .xml files: http://dpaste.com/hold/140490/ --- Date: 2010-Jan-02 23:33 By: alainb Comment: I guess it is due to the -Werror compilation flags, which transforms warning into errors. Tiny fix are needed in the code (sorry i have no time currently). --- For detailed info, follow this link: http://developer.berlios.de/bugs/?func=detailbugbug_id=16621group_id=2929 ___ Lincity-ng-devel mailing list Lincity-ng-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/lincity-ng-devel
[Lincity-ng-devel] [Bug #16621] Compile error.
Bug #16621, was updated on 2010-Jan-02 22:55 Here is a current snapshot of the bug. Project: LinCityNG Category: new Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: o01eg Assigned to : none Summary: Compile error. Details: When I compile revision 1559 a got next error (I use libxslt-1.1.26): cc1plus: warnings being treated as errors src/lincity/fileutil.cpp: In function void malloc_failure(): src/lincity/fileutil.cpp:501: error: format not a string literal and no format arguments g++ -c -o ./build/x86_64-unknown-linux-gnu/debug/src/lincity/fileutil.o -DHAVE_CONFIG_H -I. -I./src -Isrc/lincity/. -O2 -march=core2 -mtune=core2 -msse -msse2 -msse3 -mmmx -Wall -W -O0 -g3 -DDEBUG -Werror -DDEFAULT_LIBDIR=\/mnt/other/games/lincity-ng.d/share/lincity-ng\ src/lincity/fileutil.cpp ...failed C++ ./build/x86_64-unknown-linux-gnu/debug/src/lincity/fileutil.o ... src/lincity-ng/Dialog.cpp: In member function void Dialog::gameStats(): src/lincity-ng/Dialog.cpp:381: error: format not a string literal and no format arguments src/lincity-ng/Dialog.cpp:381: error: format not a string literal and no format arguments g++ -c -o ./build/x86_64-unknown-linux-gnu/debug/src/lincity-ng/Dialog.o -DHAVE_CONFIG_H -I. -I./src -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -O2 -march=core2 -mtune=core2 -msse -msse2 -msse3 -mmmx -Wall -W -O0 -g3 -DDEBUG -Werror -DAPPDATADIR=\/mnt/other/games/lincity-ng.d/share/lincity-ng\ src/lincity-ng/Dialog.cpp ...failed C++ ./build/x86_64-unknown-linux-gnu/debug/src/lincity-ng/Dialog.o ... runtime error: file data/gui/dialogs/dialogs.xsl line 75 element choose Variable 'title' has not been declared. runtime error: file data/gui/dialogs/dialogs.xsl line 118 element copy-of Variable 'buttonbar' has not been declared. xmlXPathCompiledEval: evaluation failed xsltproc -o data/gui/nobull-tip.xml data/gui/dialogs/dialogs.xsl data/gui/dialogs/nobull-tip.xml ...failed XSLTProc data/gui/nobull-tip.xml ... ...removing data/gui/nobull-tip.xml XSLTProc data/gui/cricketup.xml xsltproc -o data/gui/roadup.xml data/gui/dialogs/dialogs.xsl data/gui/dialogs/roadup.xml ...failed XSLTProc data/gui/roadup.xml ... Follow-Ups: Date: 2010-Jan-04 00:48 By: alainb Comment: If I remember correctly this xslt stuff is not really needed now that all messages-pages are generated. (If needed we have a workaround = copy one existing page and edit it :-) ) It would be bettter : - fix this for xslt 1.1 (it should work with 1.0) - or ? include in src the xsltproc 1.0 ? - or comment out the xslt stuff in Jam files to prevent this error. --- Date: 2010-Jan-04 00:33 By: alainb Comment: Yes , you are right. It is in the TODO : Generator for dialogs no longer works.(xslt 1.0 vs 1.1 see 2007-04-30 mail) https://lists.berlios.de/pipermail/lincity-ng-devel/2007-April/000153.html --- Date: 2010-Jan-03 12:15 By: o01eg Comment: Even I compile release (without -Werror) I got error with processing .xml files: http://dpaste.com/hold/140490/ --- Date: 2010-Jan-02 23:33 By: alainb Comment: I guess it is due to the -Werror compilation flags, which transforms warning into errors. Tiny fix are needed in the code (sorry i have no time currently). --- For detailed info, follow this link: http://developer.berlios.de/bugs/?func=detailbugbug_id=16621group_id=2929 ___ Lincity-ng-devel mailing list Lincity-ng-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/lincity-ng-devel
[Lincity-ng-devel] [Bug #16621] Compile error.
Bug #16621, was updated on 2010-Jan-02 22:55 Here is a current snapshot of the bug. Project: LinCityNG Category: new Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: o01eg Assigned to : none Summary: Compile error. Details: When I compile revision 1559 a got next error (I use libxslt-1.1.26): cc1plus: warnings being treated as errors src/lincity/fileutil.cpp: In function void malloc_failure(): src/lincity/fileutil.cpp:501: error: format not a string literal and no format arguments g++ -c -o ./build/x86_64-unknown-linux-gnu/debug/src/lincity/fileutil.o -DHAVE_CONFIG_H -I. -I./src -Isrc/lincity/. -O2 -march=core2 -mtune=core2 -msse -msse2 -msse3 -mmmx -Wall -W -O0 -g3 -DDEBUG -Werror -DDEFAULT_LIBDIR=\/mnt/other/games/lincity-ng.d/share/lincity-ng\ src/lincity/fileutil.cpp ...failed C++ ./build/x86_64-unknown-linux-gnu/debug/src/lincity/fileutil.o ... src/lincity-ng/Dialog.cpp: In member function void Dialog::gameStats(): src/lincity-ng/Dialog.cpp:381: error: format not a string literal and no format arguments src/lincity-ng/Dialog.cpp:381: error: format not a string literal and no format arguments g++ -c -o ./build/x86_64-unknown-linux-gnu/debug/src/lincity-ng/Dialog.o -DHAVE_CONFIG_H -I. -I./src -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -O2 -march=core2 -mtune=core2 -msse -msse2 -msse3 -mmmx -Wall -W -O0 -g3 -DDEBUG -Werror -DAPPDATADIR=\/mnt/other/games/lincity-ng.d/share/lincity-ng\ src/lincity-ng/Dialog.cpp ...failed C++ ./build/x86_64-unknown-linux-gnu/debug/src/lincity-ng/Dialog.o ... runtime error: file data/gui/dialogs/dialogs.xsl line 75 element choose Variable 'title' has not been declared. runtime error: file data/gui/dialogs/dialogs.xsl line 118 element copy-of Variable 'buttonbar' has not been declared. xmlXPathCompiledEval: evaluation failed xsltproc -o data/gui/nobull-tip.xml data/gui/dialogs/dialogs.xsl data/gui/dialogs/nobull-tip.xml ...failed XSLTProc data/gui/nobull-tip.xml ... ...removing data/gui/nobull-tip.xml XSLTProc data/gui/cricketup.xml xsltproc -o data/gui/roadup.xml data/gui/dialogs/dialogs.xsl data/gui/dialogs/roadup.xml ...failed XSLTProc data/gui/roadup.xml ... Follow-Ups: Date: 2010-Jan-02 23:33 By: alainb Comment: I guess it is due to the -Werror compilation flags, which transforms warning into errors. Tiny fix are needed in the code (sorry i have no time currently). --- For detailed info, follow this link: http://developer.berlios.de/bugs/?func=detailbugbug_id=16621group_id=2929 ___ Lincity-ng-devel mailing list Lincity-ng-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/lincity-ng-devel