From 6c76a677d63cddac19c93ac3b8309c84e4431f11 Mon Sep 17 00:00:00 2001
From: "Dmitry Yu. Naumov" <github@naumov.de>
Date: Fri, 14 Sep 2018 13:19:40 +0200
Subject: [PATCH] Remove -Wno-c++98-compat-pedantic option clang/gcc

These warnings seems not to appear any longer.
---
 scripts/cmake/CompilerSetup.cmake | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/scripts/cmake/CompilerSetup.cmake b/scripts/cmake/CompilerSetup.cmake
index 9698314bce9..25469f34206 100644
--- a/scripts/cmake/CompilerSetup.cmake
+++ b/scripts/cmake/CompilerSetup.cmake
@@ -49,11 +49,6 @@ if(COMPILER_IS_GCC OR COMPILER_IS_CLANG OR COMPILER_IS_INTEL)
         -Wextra
         -DOPENMP_LOOP_TYPE=unsigned
     )
-    if(NOT COMPILER_IS_INTEL)
-        add_compile_options(
-            -Wno-c++98-compat-pedantic
-        )
-    endif()
 
     # Profiling
     if(OGS_PROFILE)
-- 
GitLab