Changeset 5fec3f6 for src


Ignore:
Timestamp:
May 8, 2018, 11:55:44 AM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
src
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r14a61b5 r5fec3f6  
    1010// Created On       : Fri May 15 23:12:02 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun May  6 22:25:59 2018
    13 // Update Count     : 491
     12// Last Modified On : Mon May  7 14:35:57 2018
     13// Update Count     : 492
    1414//
    1515
     
    407407        opterr = 0;                                                                                     // (global) prevent getopt from printing error messages
    408408
    409         bool Werror = false;
     409        bool Wsuppress = false, Werror = false;
    410410        int c;
    411411        while ( (c = getopt_long( argc, argv, "abBcCdefgGlLmnNpqrstTvwW:yzZD:F:", long_opts, &long_index )) != -1 ) {
     
    495495                        break;
    496496                  case 'w':
    497                         SemanticWarning_SuppressAll();
     497                        Wsuppress = true;
    498498                        break;
    499499                  case 'W':
     
    545545                SemanticWarning_WarningAsError();
    546546        } // if
     547        if ( Wsuppress ) {
     548                SemanticWarning_SuppressAll();
     549        } // if
    547550        // for ( const auto w : WarningFormats ) {
    548551        //      cout << w.name << ' ' << (int)w.severity << endl;
Note: See TracChangeset for help on using the changeset viewer.