[Bf-committers] The big warning hunt patch
jlp at nerim.net
Wed Mar 9 21:08:13 CET 2005
Le 7 mars 05, à 21:19, Jean-Luc Peuriere a écrit :
> the definitive (?) patch is here :
> Please check if all goes well, i will commit it in 48H if nobody veto
> I'm down to 48 warnings on my XCode build system with the following
> flags :
> -Wall -Wno-subscripts -Wmissing-prototypes for C files.
> -Wall -Wno-subscripts C++ files.
> other build systems may yield different results due to other options
> Note that the level 2 C++ : -Wold-style-cast has been disabled in the
> makefiles as it was giving thousands of warnings which is useless.
> We should find and define on each platform an equivalent set of
> meaningfull warnings to which each new commit should succeed, this
> would keep the code clean.
> On a side note, scons way of managing the includes should be
> corrected, it is bad to give 7 times the same path ;)
now this must go on, killing the remaining warnings, and defining the
set of warnings to use on each platform
More information about the Bf-committers