Clang 5.0.0 complains about unknown warning options in GCC pragma
directives. This causes a lot of spurious warnings whenever the macro
DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
is encountered. Add a pragma directive to disable warnings about unknown
warnings to silence this.
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wunknown-pragmas\"") \
_Pragma("GCC diagnostic ignored \"-Wpragmas\"") \
+_Pragma("GCC diagnostic ignored \"-Wunknown-warning-option\"") \
+_Pragma("GCC diagnostic ignored \"-Wunknown-warning\"") \
_Pragma("GCC diagnostic ignored \"-Wextra\"") \
_Pragma("GCC diagnostic ignored \"-Woverloaded-virtual\"") \
_Pragma("GCC diagnostic ignored \"-Wunused-function\"") \
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams