From: Peter Munch Date: Thu, 3 Jun 2021 11:19:44 +0000 (+0200) Subject: Allow DEAL_II_DEPRECATED_EARLY in user code X-Git-Tag: v9.4.0-rc1~1284^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12383%2Fhead;p=dealii.git Allow DEAL_II_DEPRECATED_EARLY in user code --- 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@