Displaying 2 results from an estimated 2 matches for "covmodel".
2013 Jul 04
1
R-devel Digest, Vol 125, Issue 2
Hi all,
I have a problem but i am not sure that this is the right mailing list.
I'm writing a R program which call a C++ program, through the function .Call. I use to compile the c++ script with the command
R CMD SHLIB SpTempWrapC.cpp -Wall -l covmodel.h -l util.h
Everything works fine since, for mistake, i paste in the terminal the content of the r-script. Now, when i try to compile, i received the following error:
llvm-g++-4.2 -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined...
2008 Apr 03
2
g++ 4.3 warning: deprecated conversion from string constant to ‘char*’
...be something
new with g++ 4.3, because the same code compiled without warnings with
previous versions.
Has anyone else had theses warnings? Any fixes?
I have included some example output below. Each warning corresponds to
an Rprintf call.
andy at friend:~/Rdevel/tmp$ R CMD SHLIB splmDIC.cpp covmodel.cpp util.cpp
g++-4.3 -I/usr/local/lib/R/include -I/usr/local/lib/R/include
-I/usr/local/include -fpic -g -O2 -c splmDIC.cpp -o splmDIC.o
splmDIC.cpp: In function ?SEXPREC* splmDIC(SEXPREC*, SEXPREC*, SEXPREC*,
SEXPREC*, SEXPREC*, SEXPREC*, SEXPREC*, SEXPREC*, SEXPREC*, SEXPREC*,
SEXPREC*, SE...