Skip to content

Commit 260d753

Browse files
committed
No longer define #ARMA_IGNORE_DEPRECATED_MARKER
1 parent 779d353 commit 260d753

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2023-12-02 Dirk Eddelbuettel <[email protected]>
2+
3+
* inst/include/RcppArmadillo/interface/RcppArmadilloForward.h: Update
4+
discussion of 'ARMA_IGNORE_DEPRECATED_MARKER' which is no longer set
5+
16
2023-10-31 Dirk Eddelbuettel <[email protected]>
27

38
* DESCRIPTION (Version, Date): RcppArmadillo 0.12.6.6.0

inst/include/RcppArmadillo/interface/RcppArmadilloForward.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@
4646
// installation of Armadillo
4747
#define ARMA_DONT_USE_WRAPPER
4848

49-
// Unless 'RCPPARMADILLO_FORCE_DEPRECATE' is defined to force deprecation, we define the
50-
// setting to ignored deprecation (used at bottom of compiler_setup.hpp). This allows an
51-
// opt-out of the (hopefully temporary) suppression of deprecation warning we need while a
52-
// number of CRAN packages are affected as discussed and detailed in issues #391 and #402.
53-
#if !defined(RCPPARMADILLO_FORCE_DEPRECATE)
54-
#define ARMA_IGNORE_DEPRECATED_MARKER
55-
#endif
49+
// Armadillo has deprecation warnings (which RcppArmadillo suppressed at time to
50+
// minimise issies at CRAN). Should your package display any, and you decide
51+
// _not_ to fix the root causes (see RcppArmadillo GitHub Issues #391 and #402
52+
// for details) then defining the following macro will help. You can add a
53+
// #define in your source code before including the RcppArmadillo header, or add
54+
// a -DARMA_IGNORE_DEPRECATED_MARKER to the PKG_CPPFLAGS in src/Makevars.
55+
//#define ARMA_IGNORE_DEPRECATED_MARKER
5656

5757
#include "armadillo"
5858

0 commit comments

Comments
 (0)