[Bf-committers] Re: [Bf-blender-cvs] CVS commit:
blender/source/blender/blenkernel/intern
action.c ipo.c blender/source/blender/include BSE_editipo.h
blender/source/blender/makesdna
DNA_userdef_types.h blender/source/blender/python SConscript
blender/source/blender/python/api2_2x NLA.c Object.c Types.c ...
Stephane SOPPERA
stephane.soppera at wanadoo.fr
Mon Dec 19 01:13:34 CET 2005
The following commit to orange branch does not compile with VC7:
><http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editipo.c.diff?r1=1.86.2.2&r2=1.86.2.3&cvsroot=bf-blender>
> 1.58.2.8 +118 -3 blender/source/blender/src/editnla.c
>
>
the function bake_all_to_action is used (line 1668) before being
declared (line 1847 where it is both declared and defined).
So when compiling, at least with VC7, at the line 1668 the compiler
assumes it returns an "int". Consequently it does not compile on line
1847 where the compiler considers the function is re-declared with a
different return type.
Adding:
void bake_all_to_action(void);
at the beginning of the source (or moving the function definition)
solves this issue.
Stephane
More information about the Bf-committers
mailing list