[Bf-committers] Re: [Bf-blender-cvs] CVS commit:
blender/source/blender/python/api2_2x Scene.c
Alexander Ewering
blender at instinctive.de
Mon Mar 13 16:54:48 CET 2006
On Mon, 13 Mar 2006, Nathan Letwory wrote:
> jesterking (Nathan Letwory ) 2006/03/13 15:43:20 CET
>
> Modified files:
> blender/source/blender/python/api2_2x Scene.c
>
> Log:
> ==BPy==
> * move declaration to start of function. Again I repeat: these *have* to
> be at the start. GCC users should check themselves always, as GCC allows
> this kind of atrocities :)
...but, not at all! With the right compiler flags... ;-)
cc -O2 -pedantic -Werror -o t t.c -lpthread
t.c: In function `Main':
t.c:10: warning: ISO C89 forbids mixed declarations and code
make: *** [t] Error 1
| alexander ewering instinctive mediaworks
| ae[@]instinctive[.]de http://www[.]instinctive[.]de
More information about the Bf-committers
mailing list