Hi Kurt and Brian,
I was using R 2.6.2. Now, based on your suggestion, I've upgrade to
2.7.0 and am no longer mixing compilation versions of gcc/g++. The
constant to char* warnings are gone.
Thanks!
-Andy
Kurt Hornik wrote:
>> Andrew Finley writes:
>
>> Hello,
>> I've noticed that with g++
Hello,
I've noticed that with g++ 4.3 I get the following "warning: deprecated
conversion from string constant to ‘char*’" when I call e.g.,
Rprintf("Hello world"); or when I try to define a const char e.g., char
lower = 'L';
I am wrapping the c++ code in extern "C" {}. This seems to be somethi