Fix various warnings, remove silly useless NO_INLINE system, remove the need for -fkeep-inline-functions

This commit is contained in:
mniip
2013-10-26 21:50:40 +04:00
parent f7f24a9804
commit bf908bbfbf
21 changed files with 152 additions and 161 deletions

View File

@@ -253,7 +253,7 @@ if GetOption("toolprefix"):
# make sure the compiler can find the source data and generated files. enable warnings, set C++ flavor, and keep inline functions
env.Append(CPPPATH=['src/', 'data/', 'generated/'])
env.Append(CCFLAGS=['-w', '-std=c++98', '-fkeep-inline-functions'])
env.Append(CXXFLAGS=['-std=c++98'])
env.Append(LIBS=['pthread', 'm'])
env.Append(CPPDEFINES=["_GNU_SOURCE", "USE_STDINT", "_POSIX_C_SOURCE=200112L"])