- Timestamp:
- Oct 28, 2005, 7:16:51 PM (19 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r108 r109 6 6 harmless to any user of this special file though. 7 7 8 source/cmt.h 9 source/cmt_parser.cxx 10 source/cmt_commands.h 11 source/cmt_commands.cxx 12 doc/CMTDoc.xml: Add a -warnings option to display various warning messages 8 13 9 14 2005-10-18 <arnault@lal.in2p3.fr> 288 -
CMT/HEAD/doc/CMTDoc.xml
r104 r109 4690 4690 -tag_add=&lt;tag-list> : add specific comma-separated tag(s) 4691 4691 -tag_remove=&lt;tag-list> : remove specific comma-separated tag(s) 4692 -warnings : display various warnings 4692 4693 -with_version_directory : reset to default structuring style 4693 4694 -without_version_directory : switch structuring style … … 5810 5811 simple list of used packages, starting from the 5811 5812 deepest uses.</p> 5813 5814 <p>The <tt>-warnings</tt> option displays various warnings, such as invalid PATH items.</p> 5812 5815 5813 5816 <p></p></li> -
CMT/HEAD/source/cmt.h
r81 r109 56 56 cmt_string m_default_path; 57 57 bool m_quiet; 58 bool m_warnings; 58 59 bool m_recursive; 59 60 CmtScopeFilteringMode m_scope_filtering_mode; … … 208 209 static bool get_debug (); 209 210 static bool get_quiet (); 211 static bool get_warnings (); 210 212 static bool get_recursive (); 211 213 static CmtScopeFilteringMode get_scope_filtering_mode (); -
CMT/HEAD/source/cmt_commands.cxx
r83 r109 294 294 parsers.add ("-version", i); 295 295 pv.push_back (&ArgParser::option_version); i++; 296 297 parsers.add ("-warn", i); 298 parsers.add ("-warni", i); 299 parsers.add ("-warnin", i); 300 parsers.add ("-warning", i); 301 parsers.add ("-warnings", i); 302 pv.push_back (&ArgParser::option_warnings); i++; 296 303 297 304 parsers.add ("-with_v", i); … … 1571 1578 } 1572 1579 1580 void ArgParser::option_warnings () 1581 { 1582 cmt.m_warnings = true; 1583 } 1584 1573 1585 void ArgParser::option_csh () 1574 1586 { … … 1989 2001 cerr << "# -tag_add=<tag-list> : add specific comma-separated tag(s)" << endl; 1990 2002 cerr << "# -tag_remove=<tag-list> : remove specific comma-separated tag(s)" << endl; 2003 cerr << "# -warnings : display various warnings" << endl; 1991 2004 cerr << "# -with_version_directory : reset to default structuring style" << endl; 1992 2005 cerr << "# -without_version_directory : switch structuring style" << endl; -
CMT/HEAD/source/cmt_commands.h
r42 r109 61 61 void option_n (); 62 62 void option_quiet (); 63 void option_warnings (); 63 64 void option_csh (); 64 65 void option_sh (); -
CMT/HEAD/source/cmt_parser.cxx
r108 r109 77 77 m_default_path = ""; 78 78 m_quiet = false; 79 m_warnings = false; 79 80 m_recursive = false; 80 81 … … 3920 3921 { 3921 3922 return (Me.m_quiet); 3923 } 3924 3925 bool Cmt::get_warnings () 3926 { 3927 return (Me.m_warnings); 3922 3928 } 3923 3929 -
CMT/HEAD/source/cmt_symbol.cxx
r102 r109 871 871 if (!CmtSystem::test_directory (t)) 872 872 { 873 if ( !Cmt::get_quiet())873 if (Cmt::get_warnings ()) 874 874 { 875 875 cerr << "#CMT> Warning: Wrong " << name << " item " << t << endl;
Note: See TracChangeset
for help on using the changeset viewer.