On 14/02/2018 14:01, Keith O'Hara wrote:
This looks like an issue to bring up with the Rcpp guys, not R… but can you 
provide a full printout of the error? I’m guessing this failed when compiling a 
C file, not C++.

RcppParalllel is not part of Rcpp, and orphaned. It seems to be a mac-specific issue (it is not happening on other platforms with clang).

There is a bug in src/Makevars.  The line

PKG_CPPFLAGS += $(CXX1XSTD) -I../inst/include/

should refer to PKG_CXXFLAGS. I'll fix that after testing as version 4.3.20.2.




On Feb 14, 2018, at 8:43 AM, Marc Girondot via R-SIG-Mac 
<r-sig-mac@r-project.org> wrote:

This morning I had an update to apply for RcppParallel but it failed

Here are some information:

update.packages()
RcppParallel :
  Version 4.3.20 installed in 
/Library/Frameworks/R.framework/Versions/3.5/Resources/library
  Version 4.3.20.1 available at https://cran.r-project.org
....
During instal, I had this error

error: invalid argument '-std=gnu++11' not allowed with 'C'

It failed with the two versions of clang that I have installed:

clang++ --version
clang version 5.0.1 (tags/RELEASE_501/final)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin

or

clang++ --version
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Do you have some idea about what's happened and how to solve this problem ?

Thanks

Marc

_________________

Information on my R version:

R.Version()
$platform
[1] "x86_64-apple-darwin15.6.0"

$arch
[1] "x86_64"

$os
[1] "darwin15.6.0"

$system
[1] "x86_64, darwin15.6.0"

$status
[1] "Under development (unstable)"

$major
[1] "3"

$minor
[1] "5.0"

$year
[1] "2018"

$month
[1] "02"

$day
[1] "13"

$`svn rev`
[1] "74247"

$language
[1] "R"

$version.string
[1] "R Under development (unstable) (2018-02-13 r74247)"

$nickname
[1] "Unsuffered Consequences"

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac



--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to