diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-10 02:29:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-10 02:29:25 +0300 |
commit | 0eaeb9e50cb6114b0808ee140326ab015c533cee (patch) | |
tree | a8a448b59460fccec64b3ef17ed0182f1b337d64 /src/enums/gui/npcactionstate.h | |
parent | 50c489bc7a36972186cdb843c0582195f37e4549 (diff) | |
download | plus-0eaeb9e50cb6114b0808ee140326ab015c533cee.tar.gz plus-0eaeb9e50cb6114b0808ee140326ab015c533cee.tar.bz2 plus-0eaeb9e50cb6114b0808ee140326ab015c533cee.tar.xz plus-0eaeb9e50cb6114b0808ee140326ab015c533cee.zip |
Fix compilation warnings with mingw.
Diffstat (limited to 'src/enums/gui/npcactionstate.h')
-rw-r--r-- | src/enums/gui/npcactionstate.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/enums/gui/npcactionstate.h b/src/enums/gui/npcactionstate.h index c044d74aa..d541b3013 100644 --- a/src/enums/gui/npcactionstate.h +++ b/src/enums/gui/npcactionstate.h @@ -26,9 +26,12 @@ #include "enums/simpletypes/enumdefines.h" #ifdef INPUT -#undef +#undef INPUT #endif // INPUT +PRAGMAMINGW(GCC diagnostic push) +PRAGMAMINGW(GCC diagnostic ignored "-Wshadow") + enumStart(NpcActionState) { WAIT = 0, @@ -38,4 +41,6 @@ enumStart(NpcActionState) } enumEnd(NpcActionState); +PRAGMAMINGW(GCC diagnostic pop) + #endif // ENUMS_GUI_NPCACTIONSTATE_H |