From f798c9a3ac7610d037b8b72553164f121329149f Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Sun, 5 Jul 2015 17:06:39 +0200 Subject: [PATCH] reduce pragma test to the necessary --- cmake/checks/check_01_compiler_features.cmake | 10 ---------- 1 file changed, 10 deletions(-) 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\") " -- 2.39.5