Ignore:
Timestamp:
Oct 18, 2006, 12:40:58 PM (18 years ago)
Author:
garonne
Message:

See C.L 317

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/source/cmt_parser.cxx

    r280 r282  
    7878  m_default_path     = "";
    7979  m_quiet            = false;
     80  m_disable_warnings = false;
    8081  m_warnings         = false;
    8182  m_recursive        = false;
     
    19461947      if (tag == 0) continue;
    19471948
    1948       if (!Tag::check_tag_used (tag) && !Symbol::check_tag_used (tag))
     1949      if (!Tag::check_tag_used (tag) && !Symbol::check_tag_used (tag) && !Cmt::get_disable_warnings ())
    19491950        {
    19501951          cerr << "#CMT> The tag " << t << " is not used in any tag expression. Please check spelling" << endl;
     
    19661967    }
    19671968
    1968   if (!Tag::check_tag_used (tag) && !Symbol::check_tag_used (tag))
     1969  if (!Tag::check_tag_used (tag) && !Symbol::check_tag_used (tag) && !Cmt::get_disable_warnings ())
    19691970    {
    19701971      cerr << "#CMT> The CMTSITE value " << env << " is not used in any tag expression. Please check spelling" << endl;
     
    40684069{
    40694070  return (Me.m_quiet);
     4071}
     4072
     4073bool Cmt::get_disable_warnings ()
     4074{
     4075  return (Me.m_disable_warnings);
    40704076}
    40714077
Note: See TracChangeset for help on using the changeset viewer.