Re: Annoying warning when compiling with ACLIC

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


Hi Phillippe,
thanks for this suggestion (I overlooked your email this morning). I already had:
 gSystem->AddIncludePath("-Wno-deprecated")

which now I changed to

 gSystem->AddIncludePath("-Wno-deprecated -Wno-write-strings");

Now the warnings have disappeared.

Thanks,
Constantin

Philippe Canal wrote:
> Hi Constantin,
>
> You can manipulate the warning flags (i.e. remove -Wall or similar)
> used by ACLiC
> by using gSystem->GetMakeSharedLib and gSystem->SetMakeSharedLib
>
> Cheers,
> Philippe.
>
> Constantin Loizides wrote:
>> Dear all,
>>
>> I am running with latest head.
>>
>> When compiling my macros I get:
>>
>> Warning: deprecated conversion from string constant to ‘char*’
>>
>> Is there anyway (other than increasing the error level) to switch
>> this off?
>>
>> Thanks,
>> Constantin
>>
>>
>>
>
Received on Thu Mar 26 2009 - 10:27:31 CET

This archive was generated by hypermail 2.2.0 : Thu Mar 26 2009 - 17:50:01 CET