DEVTOOLS: Fix GCC warnings (#2986)
Appear in travis build. create_lure_dat.cpp:1491:1: error: narrowing conversion of '\37777777665' from `char` to `unsigned char` inside { } [-Wnarrowing]
This commit is contained in:
parent
b87f98602e
commit
ad43ce6945
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@
|
|||
// Disable symbol overrides so that we can use system headers.
|
||||
#define FORBIDDEN_SYMBOL_ALLOW_ALL
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wnarrowing"
|
||||
#endif
|
||||
|
||||
// HACK to allow building with the SDL backend on MinGW
|
||||
// see bug #3412 "TOOLS: MinGW tools building broken"
|
||||
#ifdef main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue