mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07: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:
parent
27caf4b87d
commit
f8a2d5ddaa
1 changed files with 6 additions and 0 deletions
6
source/third_party/mongoose/mongoose.cpp
vendored
6
source/third_party/mongoose/mongoose.cpp
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue