Fix other compile errors
This commit is contained in:
parent
80a7ecb3a4
commit
ff9f82d0c8
|
@ -104,4 +104,4 @@ set(client_SOURCES ${client_SOURCES}
|
||||||
)
|
)
|
||||||
|
|
||||||
set_source_files_properties(${CMAKE_CURRENT_LIST_DIR}/luafunctions.cpp
|
set_source_files_properties(${CMAKE_CURRENT_LIST_DIR}/luafunctions.cpp
|
||||||
PROPERTIES LANGUAGE CXX COMPILE_FLAGS "-g0 -O0")
|
PROPERTIES LANGUAGE CXX COMPILE_FLAGS "-g0 -Os")
|
||||||
|
|
|
@ -129,7 +129,7 @@ set(framework_SOURCES ${framework_SOURCES}
|
||||||
)
|
)
|
||||||
|
|
||||||
set_source_files_properties(${CMAKE_CURRENT_LIST_DIR}/luafunctions.cpp
|
set_source_files_properties(${CMAKE_CURRENT_LIST_DIR}/luafunctions.cpp
|
||||||
PROPERTIES LANGUAGE CXX COMPILE_FLAGS "-g0 -O0")
|
PROPERTIES LANGUAGE CXX COMPILE_FLAGS "-g0 -Os")
|
||||||
|
|
||||||
# some build options
|
# some build options
|
||||||
option(CRASH_HANDLER "Generate crash reports" ON)
|
option(CRASH_HANDLER "Generate crash reports" ON)
|
||||||
|
|
|
@ -902,7 +902,6 @@ void LuaInterface::setEnv(int index)
|
||||||
{
|
{
|
||||||
assert(hasIndex(index));
|
assert(hasIndex(index));
|
||||||
lua_setfenv(L, index);
|
lua_setfenv(L, index);
|
||||||
assert(ret == 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void LuaInterface::getTable(int index)
|
void LuaInterface::getTable(int index)
|
||||||
|
|
Loading…
Reference in New Issue