From plummerm at iarc.fr  Tue Feb  9 21:04:17 2016
From: plummerm at iarc.fr (Martyn Plummer)
Date: Tue, 9 Feb 2016 20:04:17 +0000
Subject: [Rd] Typo in C++11 Section of Writing R Extensions
In-Reply-To: <918B1F1D-BDB0-47E2-8CCB-70CFDB4B3981@gmail.com>
References: <918B1F1D-BDB0-47E2-8CCB-70CFDB4B3981@gmail.com>
Message-ID: <1455048257540.40333@iarc.fr>

Yes you are quite correct and this is the right place for reporting errors in the manuals. I have fixed it.
Martyn
________________________________________
From: R-devel <r-devel-bounces at r-project.org> on behalf of Jonathan Lisic <jlisic at gmail.com>
Sent: 09 February 2016 20:31
To: r-devel at r-project.org
Subject: [Rd] Typo in C++11 Section of Writing R Extensions

Hi, I was reading through the R extensions website and noticed that the example code at the end of the section makes references to CXX11XSTD and CXX11XFLAGS, shouldn?t these be CXX1XSTD and CXX1XFLAGS respectfully? (on the second and fourth line)
CXX1X=`"${R_HOME}/bin/R" CMD config CXX11X`
CXX1XSTD=`"${R_HOME}/bin/R" CMD config CXX11XSTD`
CXX="$(CXX1X) $(CXX1XSTD)"
CXXFLAGS=`"${R_HOME}/bin/R" CMD config CXX11XFLAGS`
AC_LANG(C++)
Sorry if this has been reported before,
Jonathan Lisic

______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
-----------------------------------------------------------------------
This message and its attachments are strictly confidenti...{{dropped:8}}



[Rd] Typo in C++11 Section of Writing R Extensions
Martyn Plummer