[Bf-committers] building 2.49 svn (winXP+scons+mingw): errors since revision 20239:

Benoit Bolsee benoit.bolsee at online.be
Sun May 24 14:56:30 CEST 2009


> building 2.49 svn (winXP+scons+mingw): errors since
> revision 20239:
> "BGE: new sensor object to generalize Near and Radar
> sensor, static-static collision capbility."
>
> log:
> source/gameengine/GameLogic/SCA_ISensor.h:98: error:
> expected identifier before ',' token
> [...]
> source/gameengine/Ketsji/KX_NearSensor.h:81: error:
> return-statement with no value, in function returning
> 'SCA_ISensor::sensortype'
> scons: *** [..\build249\win32-mingw\source\gameengine
> \Converter\KX_ConvertSensors.o] Error 1
> scons: building terminated because of errors.
> 
> any idea?

Apparently 'NEAR' is a #define in mingw, causing the conflict. I've
renamed the sensor type enum to avoid the conflict. 
Fixed in SVN

/benoit



More information about the Bf-committers mailing list