Mingw/Windows Compiling Fix:

In file included from source\blender\compositor\operations\COM_PlaneTrackMaskOperation.cpp:31:0:
source\blender\blenlib/BLI_jitter.h:36:65: error: expected ',' or '...' before numeric constant
source\blender\blenlib/BLI_jitter.h:37:65: error: expected ',' or '...' before numeric constant


It appears that an include used in COM_PlaneTrackMaskOperation.cpp brings in some Windows header file, which in turn defines rad/rad1/rad2 as some numeric constants.
This commit is contained in:
Joshua Leung 2013-09-01 05:55:50 +00:00
parent 7176cbf466
commit 3c193c825b
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@
*/
void BLI_jitter_init(float *jitarr, int num);
void BLI_jitterate1(float *jit1, float *jit2, int num, float rad1);
void BLI_jitterate2(float *jit1, float *jit2, int num, float rad2);
void BLI_jitterate1(float *jit1, float *jit2, int num, float radius1);
void BLI_jitterate2(float *jit1, float *jit2, int num, float radius2);
#endif