spicyfish / freenos

Automatically exported from code.google.com/p/freenos
GNU General Public License v3.0
0 stars 0 forks source link

Compilation with extra strict compiler flags fails #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Compilation with extra strict compiler flags, i.e. with -W, -Wconversion,
-Wextra currently fails
with at least the following error:

fox@nemesis ~/svn/svn.hunix.nl-freenos/trunk $ scons -Q
CXX lib/liballoc/Allocator.o
cc1plus: warnings being treated as errors
In file included from lib/liballoc/Allocator.cpp:19:
lib/liballoc/Allocator.h:68: error: unused parameter 'addr'
lib/liballoc/Allocator.h:68: error: unused parameter 'size'
lib/liballoc/Allocator.h:168: error: unused parameter 'sz'
scons: *** [lib/liballoc/Allocator.o] Error 1

Original issue reported on code.google.com by coenbijlsma on 7 Aug 2009 at 10:40

GoogleCodeExporter commented 9 years ago
ORIGINAL COMMENT FROM nieklinnenbank
The -W flag has recently been added to CCFLAGS in site_scons/build.py
and compiles successfully.

Original comment by coenbijlsma on 7 Aug 2009 at 10:41

GoogleCodeExporter commented 9 years ago

Original comment by coenbijlsma on 7 Aug 2009 at 11:04