[Bf-python] problem with the new modifier module and scon + msvc 7.0

Stephen Swaney sswaney at centurytel.net
Sun Apr 23 15:16:05 CEST 2006


On Sun, Apr 23, 2006 at 10:34:19AM +0200, jean-michel soler wrote:
> It seems that it does not compile :
> 
> Compiling ==> 'Modifier.c'
> Modifier.c
> source\blender\python\api2_2x\Modifier.c(271) : warning C4047: 'return' 
> : 'int' differs in levels of indirection from 'PyObject *'
> source\blender\python\api2_2x\Modifier.c(1105) : warning C4047: 
> 'initializing' : 'unsigned char *' differs in levels of indirection from 
> 'getter'
> source\blender\python\api2_2x\Modifier.c(1106) : error C2078: too many 
> initializers

Fixed.

Those compiler warnings *are* important!
They are usually a sign that your code is not doing what
you think it is doing.

-- 
Stephen Swaney			
sswaney at centurytel.net




More information about the Bf-python mailing list