From 0a1393d66786ed7661b3081c1c15b9730e4b36e0 Mon Sep 17 00:00:00 2001
From: Michael Kuron <mkuron@icp.uni-stuttgart.de>
Date: Mon, 5 Oct 2020 11:21:42 +0200
Subject: [PATCH] Remove WALBERLA_NO_OUTDATED_FEATURES

It is not needed because deprecations are compiler warnings and should not be ignored anyway.
Also, no need to export WARNING_DEPRECATED to the C++ code.
---
 CMakeLists.txt               | 3 ---
 src/waLBerlaDefinitions.in.h | 4 ----
 2 files changed, 7 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 989756388..1abce0760 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -91,9 +91,6 @@ option ( WALBERLA_SIMD_FORCE_SCALAR         "Do not use SIMD operations even whe
 
 option ( WALBERLA_BUFFER_DEBUG              "Type checking for BufferSystem ( slow )"        OFF )
 
-option ( WALBERLA_NO_OUTDATED_FEATURES      "Show warning/errors when outdated features "
-                                            "(i.e. features that will be deprecated) are used"   )
-
 # Profile guided optimization
 option ( WALBERLA_PROFILE_GENERATE          "Generates Profile for Optimization"                 )
 option ( WALBERLA_PROFILE_USE               "Uses Profile to optimize"                           )
diff --git a/src/waLBerlaDefinitions.in.h b/src/waLBerlaDefinitions.in.h
index 360eea932..496f223b7 100644
--- a/src/waLBerlaDefinitions.in.h
+++ b/src/waLBerlaDefinitions.in.h
@@ -63,10 +63,6 @@
 // SIMD
 #cmakedefine WALBERLA_SIMD_FORCE_SCALAR
 
-// Deprecated and Outdated
-#cmakedefine WARNING_DEPRECATED
-#cmakedefine WALBERLA_NO_OUTDATED_FEATURES
-
 // Version Information
 #define WALBERLA_MAJOR_VERSION  ${WALBERLA_MAJOR_VERSION}
 #define WALBERLA_PATCH_LEVEL    ${WALBERLA_PATCH_LEVEL}
-- 
GitLab