In file included from /home/marc/pathways/Engine/source/BadBehavior/leaf/ScriptEval.cpp:23:0: /home/marc/pathways/Engine/source/console/engineAPI.h: In instantiation of ‘T EngineUnmarshallData::operator()(const char*) const [with T = BadBehavior::Status]’: /home/marc/pathways/Engine/source/BadBehavior/leaf/ScriptEval.cpp:78:64: required from here /home/marc/pathways/Engine/source/console/engineAPI.h:226:32: error: cannot bind non-const lvalue reference of type ‘S32& {aka int&}’ to an rvalue of type ‘S32 {aka int}’ castConsoleTypeFromString( value, str ); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ compilation terminated due to -Wfatal-errors. Tools/CMake/CMakeFiles/pathways.dir/build.make:23462: recipe for target 'Tools/CMake/CMakeFiles/pathways.dir/__/__/Engine/source/BadBehavior/leaf/ScriptEval.cpp.o' failed make[2]: *** [Tools/CMake/CMakeFiles/pathways.dir/__/__/Engine/source/BadBehavior/leaf/ScriptEval.cpp.o] Error 1