From: Guido Kanschat Date: Sun, 5 Jul 2015 15:06:39 +0000 (+0200) Subject: reduce pragma test to the necessary X-Git-Tag: v8.3.0-rc1~58^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1076%2Fhead;p=dealii.git reduce pragma test to the necessary --- diff --git a/cmake/checks/check_01_compiler_features.cmake b/cmake/checks/check_01_compiler_features.cmake index 25821eb146..893ae2e6b6 100644 --- a/cmake/checks/check_01_compiler_features.cmake +++ b/cmake/checks/check_01_compiler_features.cmake @@ -328,16 +328,6 @@ 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\") "