[Bf-committers] Compile Failure since 53730?
Dominik Maier
codepoint92 at gmail.com
Fri Jan 11 23:16:50 CET 2013
Hello Harley,
the problem is that in the c standart library of msvc inline is defined as
__inline. If you add these two underscores it works.
This is specific to msvc, it works on the gnu c compiler without the
underscores (also on MinGW).
Also for the msvc c++ compiler inline without underscores works.
Best regards
Dominik
2013/1/11 Harley Acheson <harley.acheson at gmail.com>
> Hello,
>
> Getting errors compiling (scons VS9) since 53730 with errors
> in editmesh_knife.c. Compiles fine if I revert that one change.
>
> Harley
>
>
> source\blender\editors\mesh\editmesh_knife.c(228) :
> error C2054: expected '(' to follow 'inline'
>
> source\blender\editors\mesh\editmesh_knife.c(229) :
> error C2085: 'round_ftoi' :not in formal parameter list
>
> source\blender\editors\mesh\editmesh_knife.c(229) :
> error C2143: syntax error : missing ';' before '{'
>
> source\blender\editors\mesh\editmesh_knife.c(1777) :
> error C4013: 'round_ftoi' undefined; assuming extern returning int
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
More information about the Bf-committers
mailing list