Re: [Rd] g++ 4.3 warning: deprecated conversion from string constant to ‘char*’3DIn-Reply-To: <4 [EMAIL PROTECTED]>

2008-04-03 Thread Andrew Finley
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++

[Rd] g++ 4.3 warning: deprecated conversion from string constant to ‘char*’

2008-04-03 Thread Andrew Finley
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