mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
Silence mongoose warnings
C++20 removed a sizable portion of valid places to use volatile specifier. As mongoose is on the way out just add the warning to the list of suppressed warnings. Further add a warning already suppressed when using GCC to the list of suppressed warnings with Clang. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
+6
@@ -37,6 +37,12 @@
|
||||
# pragma GCC diagnostic ignored "-Wcast-function-type"
|
||||
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
# pragma GCC diagnostic ignored "-Wvolatile"
|
||||
# else
|
||||
# pragma GCC diagnostic ignored "-Wdeprecated-volatile"
|
||||
# if __clang_major__ >= 19
|
||||
# pragma GCC diagnostic ignored "-Wcast-function-type-mismatch"
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user