mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-13 21:54:43 +00:00
Disable GCC warning triggered by wx headers
This was SVN commit r10908.
This commit is contained in:
@@ -27,6 +27,10 @@
|
||||
# pragma warning(disable:4996) // deprecated CRT
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__*100 + __GNUC_MINOR__) >= 402 // (older GCCs don't support this pragma)
|
||||
# pragma GCC diagnostic ignored "-Wredundant-decls" // triggered by wx/geometry.h
|
||||
#endif
|
||||
|
||||
#include "wx/wx.h"
|
||||
|
||||
#include "GameInterface/Shareable.h"
|
||||
|
||||
Reference in New Issue
Block a user