Ignore:
Timestamp:
Mar 26, 2010, 11:56:50 AM (14 years ago)
Author:
rybkin
Message:

See C.L. 422

File:
1 edited

Legend:

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

    r504 r535  
    844844  if (p == 0)
    845845    {
    846       CmtError::set (CmtError::pattern_not_found, name);
     846      if (use->get_current_scope () != ScopeUnspecified &&
     847          use->get_current_scope () != ScopePublic)
     848        return;
     849      /*
     850      cmt_string use_info (use->get_package_name () +
     851                           " " + use->version +
     852                           (use->path != "" ? " " + use->path : "") +
     853                           " " + use->real_path
     854                           );
     855      */
     856      CmtMessage::warning (CmtError::get_error_name (CmtError::pattern_not_found) +
     857                           ": " + name +
     858                           " (applied by " + use->get_package_name () + ")"
     859                           );
     860      /*
     861        CmtError::set (CmtError::pattern_not_found, name +
     862        " (applied by " + use->get_package_name () + ")"
     863        );
     864      */
     865      /*
    847866      if (CmtMessage::active (Verbose))
    848867        {
    849           cmt_string cmtpath, offset;
    850           use->get_cmtpath_and_offset (cmtpath, offset);
    851           CmtMessage::warning ((offset != "" ? offset + "/" : "")
    852                                + use->get_package_name ()
    853                                + ": " + CmtError::get_last_error ());
    854           //CmtMessage::warning (CmtError::get_last_error ());
     868          CmtMessage::warning (CmtError::get_last_error ());
    855869        }
     870      */
    856871      return;
    857872    }
Note: See TracChangeset for help on using the changeset viewer.