From 63466f3e61e6d466545fd6d040a152a3d8c0acdf Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Thu, 3 Jun 2021 13:19:44 +0200 Subject: [PATCH] Allow DEAL_II_DEPRECATED_EARLY in user code --- include/deal.II/base/config.h.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index 3d4445f07d..c6dc2baf6d 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -163,7 +163,10 @@ * deprecated prior to a release until after that release has been * finalized - see DEAL_II_EARLY_DEPRECATIONS for more information. */ +#ifndef DEAL_II_DEPRECATED_EARLY +// guard to allow user to override DEAL_II_DEPRECATED_EARLY #cmakedefine DEAL_II_DEPRECATED_EARLY @DEAL_II_DEPRECATED_EARLY@ +#endif #cmakedefine DEAL_II_FALLTHROUGH @DEAL_II_FALLTHROUGH@ #cmakedefine DEAL_II_CONSTEXPR @DEAL_II_CONSTEXPR@ -- 2.39.5