Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #403 #404

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
Package: cpp11
Title: A C++11 Interface for R's C Interface
Version: 0.5.0.9000
Version: 0.5.1
Authors@R:
c(
person("Davis", "Vaughan", email = "davis@posit.co", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-4777-038X")),
person("Jim","Hester", role = "aut", comment = c(ORCID = "0000-0002-2739-7082")),
person("Romain", "François", role = "aut", comment = c(ORCID = "0000-0002-2444-4226")),
person("Benjamin", "Kietzman", role = "ctb"),
person("Mauricio", "Vargas Sepulveda", role = "ctb", comment = c(ORCID = "0000-0003-1017-7574")),
person("Posit Software, PBC", role = c("cph", "fnd"))
)
Description: Provides a header only, C++11 interface to R's C
Expand Down Expand Up @@ -55,4 +56,4 @@ Config/Needs/cpp11/cpp_register:
vctrs
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# cpp11 (development version)

# cpp11 0.5.1

* Conditionally uses `R_NO_REMAP` and `STRICT_R_HEADERS` to avoid the
warning `macro redefined [-Wmacro-redefined]` on clang19 (#403).

# cpp11 0.5.0

## R non-API related changes
Expand Down
6 changes: 6 additions & 0 deletions inst/include/cpp11/R.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@
#endif
#endif

#ifndef R_NO_REMAP
#define R_NO_REMAP
#endif

#ifndef STRICT_R_HEADERS
#define STRICT_R_HEADERS
#endif

#include "R_ext/Boolean.h"
#include "Rinternals.h"
#include "Rversion.h"
Expand Down
1 change: 1 addition & 0 deletions man/cpp11-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading