Skip to content

Use C++14 for Windows builds - #86

Open
xjsun1221 wants to merge 1 commit into
YMa-lab:masterfrom
xjsun1221:fix-windows-cxx14-build
Open

Use C++14 for Windows builds#86
xjsun1221 wants to merge 1 commit into
YMa-lab:masterfrom
xjsun1221:fix-windows-cxx14-build

Conversation

@xjsun1221

Copy link
Copy Markdown

Problem

src/Makevars.win currently requests C++11. Recent RcppArmadillo
versions require C++14, causing CARD installation to fail during
compilation on current Windows/R toolchains.

Change

Update the Windows compilation standard from C++11 to C++14.

Validation

  • Windows 11 x64
  • R 4.5.0
  • Rtools45 / GCC 14.2.0
  • R CMD build . completed successfully
  • R CMD check --as-cran --no-manual completed with 0 errors
  • Package compilation, installation, loading, examples and vignettes passed

The remaining 6 warnings and 6 notes are pre-existing package metadata,
documentation and dependency issues unrelated to this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant