Skip to content

Commit 0764565

Browse files
committed
fix #403
1 parent dc93fb8 commit 0764565

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

DESCRIPTION

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
Package: cpp11
22
Title: A C++11 Interface for R's C Interface
3-
Version: 0.5.0.9000
3+
Version: 0.5.1
44
Authors@R:
55
c(
66
person("Davis", "Vaughan", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-4777-038X")),
77
person("Jim","Hester", role = "aut", comment = c(ORCID = "0000-0002-2739-7082")),
88
person("Romain", "François", role = "aut", comment = c(ORCID = "0000-0002-2444-4226")),
99
person("Benjamin", "Kietzman", role = "ctb"),
10+
person("Mauricio", "Vargas Sepulveda", role = "ctb", comment = c(ORCID = "0000-0003-1017-7574")),
1011
person("Posit Software, PBC", role = c("cph", "fnd"))
1112
)
1213
Description: Provides a header only, C++11 interface to R's C
@@ -55,4 +56,4 @@ Config/Needs/cpp11/cpp_register:
5556
vctrs
5657
Encoding: UTF-8
5758
Roxygen: list(markdown = TRUE)
58-
RoxygenNote: 7.2.3
59+
RoxygenNote: 7.3.1

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# cpp11 (development version)
22

3+
# cpp11 0.5.1
4+
5+
* Conditionally uses `R_NO_REMAP` and `STRICT_R_HEADERS` to avoid the
6+
warning `macro redefined [-Wmacro-redefined]` on clang19 (#403).
7+
38
# cpp11 0.5.0
49

510
## R non-API related changes

inst/include/cpp11/R.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,14 @@
88
#endif
99
#endif
1010

11+
#ifndef R_NO_REMAP
1112
#define R_NO_REMAP
13+
#endif
14+
15+
#ifndef STRICT_R_HEADERS
1216
#define STRICT_R_HEADERS
17+
#endif
18+
1319
#include "R_ext/Boolean.h"
1420
#include "Rinternals.h"
1521
#include "Rversion.h"

man/cpp11-package.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)