Changeset c5e5109
- Timestamp:
 - May 7, 2018, 4:49:31 PM (8 years ago)
 - Branches:
 - ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
 - Children:
 - 387c9a1
 - Parents:
 - cfc3e0f
 - File:
 - 
      
- 1 edited
 
- 
          
  src/main.cc (modified) (4 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
src/main.cc
rcfc3e0f rc5e5109 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun May 6 22:25:59201813 // Update Count : 49 112 // Last Modified On : Mon May 7 14:35:57 2018 13 // Update Count : 492 14 14 // 15 15 … … 407 407 opterr = 0; // (global) prevent getopt from printing error messages 408 408 409 bool W error = false;409 bool Wsuppress = false, Werror = false; 410 410 int c; 411 411 while ( (c = getopt_long( argc, argv, "abBcCdefgGlLmnNpqrstTvwW:yzZD:F:", long_opts, &long_index )) != -1 ) { … … 495 495 break; 496 496 case 'w': 497 SemanticWarning_SuppressAll();497 Wsuppress = true; 498 498 break; 499 499 case 'W': … … 545 545 SemanticWarning_WarningAsError(); 546 546 } // if 547 if ( Wsuppress ) { 548 SemanticWarning_SuppressAll(); 549 } // if 547 550 // for ( const auto w : WarningFormats ) { 548 551 // cout << w.name << ' ' << (int)w.severity << endl;  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.