Login  Register

SWIG R with c++11

Posted by Peter Caspers-4 on Oct 26, 2013; 7:34pm
URL: http://quantlib.414.s1.nabble.com/SWIG-R-with-c-11-tp14618.html

Hi,

   is it possible to build the SWIG R package with -std=c++11 ? As far
as I can see during the execution of R CMD check R one step

* checking whether package ‘QuantLib’ can be installed ... ERROR

fails because some hard coded (?) configuration (not related to the one
produced with the usual ./configure ... call) is used here, in the log
R.Rcheck/00install.out I get

make[3]: Entering directory `/home/peter/quantlibpc/QuantLib-SWIG/R/src'
g++ -I/usr/share/R/include -DNDEBUG `quantlib-config --cflags`      -fpic  -O3 -pipe  -g  -c QuantLib.cpp -o QuantLib.o

which fails because of some c++11 elements in my client quantlib code.

Thanks a lot
    Peter




------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev