⚗️ update warning flags

This commit is contained in:
Niels Lohmann 2021-08-17 10:25:03 +02:00
parent 568fad2925
commit e3206b0bb8
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
3 changed files with 3 additions and 1 deletions

View File

@ -111,7 +111,7 @@ set(GCC_CXXFLAGS "-std=c++11 \
-Wno-abi-tag \
-Waddress \
-Waddress-of-packed-member \
-Waggregate-return \
-Wno-aggregate-return \
-Waggressive-loop-optimizations \
-Waligned-new=all \
-Wall \

View File

@ -40,6 +40,7 @@
#if defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdocumentation"
#pragma GCC diagnostic ignored "-Wdocumentation-unknown-command"
#endif
// allow to disable exceptions

View File

@ -2252,6 +2252,7 @@ JSON_HEDLEY_DIAGNOSTIC_POP
#if defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdocumentation"
#pragma GCC diagnostic ignored "-Wdocumentation-unknown-command"
#endif
// allow to disable exceptions