⚗️ update warning flags
This commit is contained in:
parent
568fad2925
commit
e3206b0bb8
@ -111,7 +111,7 @@ set(GCC_CXXFLAGS "-std=c++11 \
|
|||||||
-Wno-abi-tag \
|
-Wno-abi-tag \
|
||||||
-Waddress \
|
-Waddress \
|
||||||
-Waddress-of-packed-member \
|
-Waddress-of-packed-member \
|
||||||
-Waggregate-return \
|
-Wno-aggregate-return \
|
||||||
-Waggressive-loop-optimizations \
|
-Waggressive-loop-optimizations \
|
||||||
-Waligned-new=all \
|
-Waligned-new=all \
|
||||||
-Wall \
|
-Wall \
|
||||||
|
|||||||
@ -40,6 +40,7 @@
|
|||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wdocumentation"
|
#pragma GCC diagnostic ignored "-Wdocumentation"
|
||||||
|
#pragma GCC diagnostic ignored "-Wdocumentation-unknown-command"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// allow to disable exceptions
|
// allow to disable exceptions
|
||||||
|
|||||||
@ -2252,6 +2252,7 @@ JSON_HEDLEY_DIAGNOSTIC_POP
|
|||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wdocumentation"
|
#pragma GCC diagnostic ignored "-Wdocumentation"
|
||||||
|
#pragma GCC diagnostic ignored "-Wdocumentation-unknown-command"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// allow to disable exceptions
|
// allow to disable exceptions
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user