[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x Mesh.c

Chris Want cwant at ualberta.ca
Sat Feb 11 00:14:10 CET 2006


Nathan Letwory wrote:
>   ==Python==
>   * last commit by Ken broke compile for msvc. general reminder: in C
>     introduce new vars at the *beginning* of a block, not in the middle.

It looks like gcc has a flag called -Wdeclaration-after-statement.
Maybe we should use it?

http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/Warning-Options.html#Warning-Options
http://gcc.gnu.org/onlinedocs/gcc-3.4.5/gcc/Warning-Options.html#Warning-Options

Regards,
Chris


More information about the Bf-committers mailing list