diff options
author | David Robillard <d@drobilla.net> | 2020-11-29 12:11:26 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-29 12:11:26 +0100 |
commit | 01fca5f7a52a7f7bef788e6bff4c8252d847dc29 (patch) | |
tree | af69692b76db5ec2247e696a04937ca56ee78370 /src | |
parent | ead2e17a27be566aa23b1fcc809da6ae09be70bf (diff) | |
download | patchage-01fca5f7a52a7f7bef788e6bff4c8252d847dc29.tar.gz patchage-01fca5f7a52a7f7bef788e6bff4c8252d847dc29.tar.bz2 patchage-01fca5f7a52a7f7bef788e6bff4c8252d847dc29.zip |
Update ganv warning suppressions
Diffstat (limited to 'src')
-rw-r--r-- | src/warnings.hpp | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/src/warnings.hpp b/src/warnings.hpp index 6931bee..f7f1779 100644 --- a/src/warnings.hpp +++ b/src/warnings.hpp @@ -26,13 +26,12 @@ _Pragma("clang diagnostic ignored \"-Wglobal-constructors\"") \ _Pragma("clang diagnostic ignored \"-Wsigned-enum-bitfield\"") -# define PATCHAGE_DISABLE_GANV_WARNINGS \ - _Pragma("clang diagnostic push") \ - _Pragma( \ - "clang diagnostic ignored \"-Wdocumentation-unknown-command\"") \ - _Pragma("clang diagnostic ignored \"-Wsuggest-destructor-override\"") \ - _Pragma("clang diagnostic ignored \"-Wsuggest-override\"") \ - _Pragma("clang diagnostic ignored \"-Wunused-parameter\"") +// clang-format off +# define PATCHAGE_DISABLE_GANV_WARNINGS \ + _Pragma("clang diagnostic push") \ + _Pragma( \ + "clang diagnostic ignored \"-Wdocumentation-unknown-command\"") +// clang-format on # define PATCHAGE_RESTORE_WARNINGS _Pragma("clang diagnostic pop") @@ -40,10 +39,7 @@ # define PATCHAGE_DISABLE_FMT_WARNINGS _Pragma("GCC diagnostic push") -# define PATCHAGE_DISABLE_GANV_WARNINGS \ - _Pragma("GCC diagnostic push") \ - _Pragma("GCC diagnostic ignored \"-Wsuggest-override\"") \ - _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") +# define PATCHAGE_DISABLE_GANV_WARNINGS # define PATCHAGE_RESTORE_WARNINGS _Pragma("GCC diagnostic pop") |