- Timestamp:
- May 8, 2018, 11:55:44 AM (6 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:
- 4990812
- Parents:
- 14a61b5 (diff), 387c9a1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r14a61b5 r5fec3f6 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.