Give up on _Pragma for gcc, force disable Wparentheses in all TUs

This commit is contained in:
Martin Hořeňovský
2017-04-05 21:37:27 +02:00
parent 3ae076ce8d
commit 8f85d08e9f
2 changed files with 1 additions and 18 deletions

View File

@@ -24,11 +24,7 @@
#elif defined __GNUC__
# pragma GCC diagnostic ignored "-Wvariadic-macros"
# pragma GCC diagnostic ignored "-Wunused-variable"
// For newer version we can use __Pragma to disable the warnings locally
# if __GNUC__ == 4 && __GNUC_MINOR__ >= 4 && __GNUC_MINOR__ <= 7
# pragma GCC diagnostic ignored "-Wparentheses"
# endif
# pragma GCC diagnostic ignored "-Wparentheses"
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wpadded"