Re: Annoying warning when compiling with ACLIC

From: Constantin Loizides <loizides_at_MIT.EDU>
Date: Thu, 26 Mar 2009 07:10:34 +0100


Hi Benjmin,
thanks for you answer.
This will be fun to go through hundreds of macros...

Is there really no other way?

Constantin

Benjamin Bannier wrote:
> Hi,
>
> On Wed, 25 Mar 2009 23:47:51 +0100
> Constantin Loizides <loizides_at_MIT.EDU> wrote:
>
>
>> Warning: deprecated conversion from string constant to ‘char*’
>>
>> Is there anyway (other than increasing the error level) to switch
>> this off?
>>
>
> you should fix this in your macros and declare your C strings as
> const char* s = "Your text here";
> instead of
> char* s = "Your text here";
>
>
> HTH,
>
> Benjamin
>
>
Received on Thu Mar 26 2009 - 07:11:15 CET

This archive was generated by hypermail 2.2.0 : Thu Mar 26 2009 - 11:50:07 CET