Skip to content

Commit fefc112

Browse files
committed
Set USE_CXX1X to more reasonable non-empty value
1 parent 9932ca3 commit fefc112

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2014-05-07 Kevin Ushey <[email protected]>
2+
3+
* R/Attributes.R (.plugins[["cpp11"]]): Set USE_CXX1X to more
4+
reasonable non-empty value
5+
16
2014-05-06 Kevin Ushey <[email protected]>
27

38
* R/Attributes.R (.plugins[["cpp11"]]): Set USE_CXX1X to non-empty

R/Attributes.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ compileAttributes <- function(pkgdir = ".", verbose = getOption("verbose")) {
393393
# built-in C++11 plugin
394394
.plugins[["cpp11"]] <- function() {
395395
if (getRversion() >= "3.1")
396-
list(env = list(USE_CXX1X = "0"))
396+
list(env = list(USE_CXX1X = "yes"))
397397
else
398398
list(env = list(PKG_CXXFLAGS ="-std=c++11"))
399399
}
@@ -926,4 +926,3 @@ sourceCppFunction <- function(func, isVoid, dll, symbol) {
926926
}
927927
.hasDevelTools
928928
}
929-

0 commit comments

Comments
 (0)