PR #1076 disabled warnings due to disabling unknown warnings with a
pragma. This causes the warning
src.cxx:4:3: error: unknown warning group '-Wpragmas', ignored [-Werror,-Wunknown-pragmas]
_Pragma("GCC diagnostic ignored \"-Wpragmas\"")
with Clang 3.4.0. It seems it supports Wunknown-pragmas which is okay to be
used with gcc too. Sigh.
"
_Pragma(\"GCC diagnostic push\")
_Pragma(\"GCC diagnostic ignored \\\\\\\"-Wextra\\\\\\\"\")
+ _Pragma(\"GCC diagnostic ignored \\\\\\\"-Wunknown-pragmas\\\\\\\"\")
_Pragma(\"GCC diagnostic ignored \\\\\\\"-Wpragmas\\\\\\\"\")
int main() { return 0; }
_Pragma(\"GCC diagnostic pop\")
# define DEAL_II_DISABLE_EXTRA_DIAGNOSTICS \
_Pragma("GCC diagnostic push") \
+_Pragma("GCC diagnostic ignored \"-Wunknown-pragmas\"") \
_Pragma("GCC diagnostic ignored \"-Wpragmas\"") \
_Pragma("GCC diagnostic ignored \"-Wextra\"") \
_Pragma("GCC diagnostic ignored \"-Woverloaded-virtual\"") \
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