Changeset 141


Ignore:
Timestamp:
Jan 31, 2006, 5:22:08 PM (20 years ago)
Author:
arnault
Message:

Force a warning when CMTPATH contains a non existing item see CL#293

Location:
CMT/HEAD/source
Files:
3 edited

Legend:

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

    r138 r141  
    828828          p += e;
    829829
    830            
     830
     831          /*
    831832          for (int j = 1; j < _level; j++) cout << "  ";
    832833          cout << "Restarting scan_path on p=" << p << endl;
     
    834835
    835836          cout << "#PathScanner::scan_path> Restarting scan_path on p=" << p << endl;
    836 
     837          */
    837838
    838839          scan_path (p, 1, a);
  • CMT/HEAD/source/cmt_parser.cxx

    r138 r141  
    596596  {
    597597    bool q = Me.m_quiet;
     598    bool w = Me.m_warnings;
    598599    Me.m_quiet = true; 
     600    Me.m_warnings = true; 
    599601    Symbol::filter_path_value ("CMTPATH", s);
    600     Me.m_quiet = q; 
     602    Me.m_warnings = w; 
     603    Me.m_quiet = q;
    601604  }
    602605
  • CMT/HEAD/source/cmt_system.cxx

    r114 r141  
    12961296      }
    12971297   
    1298     //cerr << "adding npath=[" << npath << "]" << endl;
     1298    cerr << "adding npath=[" << npath << "]" << endl;
    12991299   
    13001300    if (npath != "")
     
    13021302        if (!CmtSystem::test_directory (npath))
    13031303          {
     1304            cerr << "#CMT> Warning: path " << npath << " doesn't exist" << endl;
    13041305            CmtError::set (CmtError::path_not_found, npath);
    13051306            return;
Note: See TracChangeset for help on using the changeset viewer.