Hi ROOTers,
How can change the CINT compiler warning level?
I’ve tried:
.J0
.L myCode.C++
but the compiler still prints low level warnings.
Also tried:
.L -J0 myCode.C++
and other variants all having wrong syntax.
Thanks in advance
Hi ROOTers,
How can change the CINT compiler warning level?
I’ve tried:
.J0
.L myCode.C++
but the compiler still prints low level warnings.
Also tried:
.L -J0 myCode.C++
and other variants all having wrong syntax.
Thanks in advance
Hi,
[quote]> .L myCode.C++
but the compiler still prints low level warnings.[/quote]I suspect you are referring to the warning that are issued by g++ which is called by ACLiC as a consequence of the use of the ‘++’. To change the warning level, you need to manipulate the string used by ACLiC for complication:TString cmd( gSystem->GetMakeSharedLib() );
// Change the content of cmd as needed.
gSystem->SetMakeSharedLib(cmd);
Cheers,
Philippe.
Thanks a lot,
it worked just fine using as suggested:
TString cmd( gSystem->GetMakeSharedLib() );
// Remove warning level
cmd.ReplaceAll("-Wall","");
gSystem->SetMakeSharedLib(cmd);