mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-15 09:02:30 +00:00
attempt to fix a compiler warning 2
This commit is contained in:
parent
29ff731327
commit
c26e139091
@ -196,7 +196,7 @@ namespace lua_check_impl
|
||||
}
|
||||
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6 )
|
||||
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8 )
|
||||
// 'list.size()' below is unsigned for some (most but not all) list types.
|
||||
#pragma GCC diagnostic ignored "-Wtype-limits"
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user