Re: [ROOT] How to suppress the warning messages during the script compliation?

From: Valeri Fine (fine@bnl.gov)
Date: Sat Jul 07 2001 - 16:25:18 MEST


Dear Inkyu


> Hi Rooters,
>
> I would like to suppress the warning messages when I do the script
> compilation. For example,
>
> when I do,
>
> root[] .x MyMacro.C+(par1,par2)
>
> I get lots of warning message which I don't want to see. I was trying to
> find out some compilation option like -W1 or whatever, but seems like no
> way to suppress. Does anybody know how-to?

You can try:
http://root.cern.ch/root/htmldoc/TSystem.html#TSystem:GetMakeExe
http://root.cern.ch/root/htmldoc/TSystem.html#TSystem:SetMakeExe

or

http://root.cern.ch/root/htmldoc/TSystem.html#TSystem:GetMakeSharedLib
http://root.cern.ch/root/htmldoc/TSystem.html#TSystem:SetMakeSharedLib

  However the experience says suppressing of the "warning" message is
dangerous.
  The "warning" message in C++ very often does indicate a real problem that
easy to fix
  rather hide and live with the hidden bug wondering where the strange
result comes
  from.

  With my best regards, Valeri



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:51 MET