...AngelScript\as_scriptengine.cpp(177) : error C2065: 'asEP_OPTIMIZE_BYTECODE' : undeclared identifier
Has updated All source codes. Began to compile - this mistake jumps out. I can not understand in what business. Bug VC++6 can? (WinXP,VC++6Standart).
angelscript.h:
[skip]
// Enumerations and constants
// Engine properties
const asDWORD asEP_ALLOW_UNSAFE_REFERENCES = 1; // Default: false
const asDWORD asEP_OPTIMIZE_BYTECODE = 2; // Default: true
[skip]
as_scriptengine.cpp:
[skip]
int asCScriptEngine::SetEngineProperty(asDWORD property, asPWORD value)
{
if( property == asEP_ALLOW_UNSAFE_REFERENCES )
allowUnsafeReferences = value ? true : false;
else if( property == asEP_OPTIMIZE_BYTECODE ) //<<<== ....AngelScript\as_scriptengine.cpp(177) : error C2065: 'asEP_OPTIMIZE_BYTECODE' : undeclared identifier
optimizeByteCode = value ? true : false;
else
return asINVALID_ARG;
return asSUCCESS;
}
[skip]