From: Guido Kanschat Date: Sat, 4 Jul 2015 05:22:31 +0000 (+0200) Subject: test for all the pramas used in DEAL_II_DISABLE_EXTRA_DIAGNOSTICS to avoid warnings... X-Git-Tag: v8.3.0-rc1~58^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=567c3828ba53b4ac03028c97888cf0ff659b25ed;p=dealii.git test for all the pramas used in DEAL_II_DISABLE_EXTRA_DIAGNOSTICS to avoid warnings in clang 3.4 --- diff --git a/cmake/checks/check_01_compiler_features.cmake b/cmake/checks/check_01_compiler_features.cmake index dba3a86735..25821eb146 100644 --- a/cmake/checks/check_01_compiler_features.cmake +++ b/cmake/checks/check_01_compiler_features.cmake @@ -327,6 +327,17 @@ CHECK_CXX_SOURCE_COMPILES( " _Pragma(\"GCC diagnostic push\") _Pragma(\"GCC diagnostic ignored \\\\\\\"-Wextra\\\\\\\"\") + _Pragma(\"GCC diagnostic ignored \\\\\\\"-Wpragmas\\\\\\\"\") + _Pragma(\"GCC diagnostic ignored \\\\\\\"-Wextra\\\\\\\"\") + _Pragma(\"GCC diagnostic ignored \\\\\\\"-Woverloaded-virtual\\\\\\\"\") + _Pragma(\"GCC diagnostic ignored \\\\\\\"-Wunused-function\\\\\\\"\") + _Pragma(\"GCC diagnostic ignored \\\\\\\"-Wunused-parameter\\\\\\\"\") + _Pragma(\"GCC diagnostic ignored \\\\\\\"-Wunused-variable\\\\\\\"\") + _Pragma(\"GCC diagnostic ignored \\\\\\\"-Wunused-but-set-parameter\\\\\\\"\") + _Pragma(\"GCC diagnostic ignored \\\\\\\"-Wnested-anon-types\\\\\\\"\") + _Pragma(\"GCC diagnostic ignored \\\\\\\"-Wunused-private-field\\\\\\\"\") + _Pragma(\"GCC diagnostic ignored \\\\\\\"-Wdeprecated-declarations\\\\\\\"\") + _Pragma(\"GCC diagnostic warning \\\\\\\"-Wpragmas\\\\\\\"\") int main() { return 0; } _Pragma(\"GCC diagnostic pop\") "