[Scummvm-git-logs] scummvm master -> ad43ce6945553957f3cc2d69d82aa91bcd35172f
orgads
orgads at gmail.com
Wed Apr 28 16:57:12 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
ad43ce6945 DEVTOOLS: Fix GCC warnings (#2986)
Commit: ad43ce6945553957f3cc2d69d82aa91bcd35172f
https://github.com/scummvm/scummvm/commit/ad43ce6945553957f3cc2d69d82aa91bcd35172f
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-04-28T19:57:10+03:00
Commit Message:
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]
Changed paths:
devtools/create_lure/create_lure_dat.cpp
diff --git a/devtools/create_lure/create_lure_dat.cpp b/devtools/create_lure/create_lure_dat.cpp
index 9393270bbd..1d887819c0 100644
--- a/devtools/create_lure/create_lure_dat.cpp
+++ b/devtools/create_lure/create_lure_dat.cpp
@@ -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
More information about the Scummvm-git-logs
mailing list