From 567c3828ba53b4ac03028c97888cf0ff659b25ed Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Sat, 4 Jul 2015 07:22:31 +0200 Subject: [PATCH] test for all the pramas used in DEAL_II_DISABLE_EXTRA_DIAGNOSTICS to avoid warnings in clang 3.4 --- cmake/checks/check_01_compiler_features.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) 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\") " -- 2.39.5