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/autotarget.h | |
parent | 8a7279daea883f86c2a500c368d252394faeea5b (diff) | |
download | plus-6849c5919c02b4cf97de91c801b542e36eb089ce.tar.gz plus-6849c5919c02b4cf97de91c801b542e36eb089ce.tar.bz2 plus-6849c5919c02b4cf97de91c801b542e36eb089ce.tar.xz plus-6849c5919c02b4cf97de91c801b542e36eb089ce.zip |
Add pragmas for prevent warnings about unused constants in simple types.
Diffstat (limited to 'src/enums/simpletypes/autotarget.h')
-rw-r--r-- | src/enums/simpletypes/autotarget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/enums/simpletypes/autotarget.h b/src/enums/simpletypes/autotarget.h index 20b5ea5d6..8007edba5 100644 --- a/src/enums/simpletypes/autotarget.h +++ b/src/enums/simpletypes/autotarget.h @@ -23,6 +23,11 @@ #include "enums/simpletypes/booldefines.h" +PRAGMA6("GCC diagnostic push") +PRAGMA6("GCC diagnostic ignored \"-Wunused-const-variable\"") + defBoolEnum(AutoTarget); +PRAGMA6("GCC diagnostic pop") + #endif // ENUMS_SIMPLETYPES_AUTOTARGET_H |