diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-13 22:45:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-13 22:45:06 +0300 |
commit | 6849c5919c02b4cf97de91c801b542e36eb089ce (patch) | |
tree | e5e693931887a06f2e4a75099753f3012cd8be57 /src/enums/simpletypes/forcequantity.h | |
parent | 8a7279daea883f86c2a500c368d252394faeea5b (diff) | |
download | ManaVerse-6849c5919c02b4cf97de91c801b542e36eb089ce.tar.gz ManaVerse-6849c5919c02b4cf97de91c801b542e36eb089ce.tar.bz2 ManaVerse-6849c5919c02b4cf97de91c801b542e36eb089ce.tar.xz ManaVerse-6849c5919c02b4cf97de91c801b542e36eb089ce.zip |
Add pragmas for prevent warnings about unused constants in simple types.
Diffstat (limited to 'src/enums/simpletypes/forcequantity.h')
-rw-r--r-- | src/enums/simpletypes/forcequantity.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/enums/simpletypes/forcequantity.h b/src/enums/simpletypes/forcequantity.h index 3425b33b4..58fc18dbe 100644 --- a/src/enums/simpletypes/forcequantity.h +++ b/src/enums/simpletypes/forcequantity.h @@ -23,6 +23,11 @@ #include "enums/simpletypes/booldefines.h" +PRAGMA6("GCC diagnostic push") +PRAGMA6("GCC diagnostic ignored \"-Wunused-const-variable\"") + defBoolEnum(ForceQuantity); +PRAGMA6("GCC diagnostic pop") + #endif // ENUMS_SIMPLETYPES_FORCEQUANTITY_H |