mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-24 07:43:44 +02:00
Suppress warnings left over from original project
This commit is contained in:
parent
2f3b3098c1
commit
0d6d69c47a
2 changed files with 4 additions and 1 deletions
|
@ -64,6 +64,9 @@ include_dirs = [include_directories('src', 'binding')]
|
||||||
all_sources += files('cwalk/src/cwalk.c')
|
all_sources += files('cwalk/src/cwalk.c')
|
||||||
include_dirs += include_directories('cwalk/include')
|
include_dirs += include_directories('cwalk/include')
|
||||||
|
|
||||||
|
# Disable some warnings
|
||||||
|
add_project_arguments(['-Wno-undefined-var-template', '-Wno-non-virtual-dtor', '-Wno-uninitialized'], language: 'cpp')
|
||||||
|
|
||||||
|
|
||||||
linker_args = []
|
linker_args = []
|
||||||
|
|
||||||
|
|
|
@ -380,7 +380,7 @@ int main(int argc, char *argv[])
|
||||||
rtData.rgssErrorMsg.c_str(), win);
|
rtData.rgssErrorMsg.c_str(), win);
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_GL_DeleteContext(rtData.glContext);
|
if (rtData.glContext) SDL_GL_DeleteContext(rtData.glContext);
|
||||||
|
|
||||||
/* Clean up any remainin events */
|
/* Clean up any remainin events */
|
||||||
eventThread.cleanup();
|
eventThread.cleanup();
|
||||||
|
|
Loading…
Add table
Reference in a new issue