Revision: 6647 http://ipcop.svn.sourceforge.net/ipcop/?rev=6647&view=rev Author: gespinasse Date: 2012-06-09 15:58:44 +0000 (Sat, 09 Jun 2012) Log Message: ----------- Remove --enable-gcc-warnings This remove -Werror from compilation that break Eric build with > cc1: warnings being treated as errors > In file included from scan-skel-c.c:4: > scan-skel.c: In function 'skel_lex': > scan-skel.l:91: error: ignoring return value of 'fwrite_unlocked', > declared with attribute warn_unused_result > scan-skel.l:92: error: ignoring return value of 'fwrite_unlocked', > declared with attribute warn_unused_result > make[4]: *** [scan-skel-c.o] Error 1
That worked for me as I have a patch (not yet commited) on glibc borrowed to debian/ubuntu that silent this warning. Modified Paths: -------------- ipcop/trunk/lfs/bison Modified: ipcop/trunk/lfs/bison =================================================================== --- ipcop/trunk/lfs/bison 2012-06-09 09:34:41 UTC (rev 6646) +++ ipcop/trunk/lfs/bison 2012-06-09 15:58:44 UTC (rev 6647) @@ -85,7 +85,7 @@ # Optimization removal is destined to silent some gcc warnings that those optimization trigger cd $(DIR_APP) && sed -i -e '/O0.*FLAGS/s/0\-9/s0-9/' tests/atlocal.in - cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls --enable-gcc-warnings + cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls # Unlike LFS, we don't force YYENABLE_NLS as we use --disable-nls #cd $(DIR_APP) && echo '#define YYENABLE_NLS 1' >> lib/config.h cd $(DIR_APP) && make -j $(PARALLELISM) V=1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn