Changeset af98d27


Ignore:
Timestamp:
Oct 22, 2017, 3:06:10 PM (7 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, resolv-new, with_gc
Children:
114014c, 85d340d, f1dd17a
Parents:
2e30d47
Message:

ifdef out attribute fallthrough for older gccs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r2e30d47 raf98d27  
    502502                                assertf( false, "Unknown option: %s\n", argv[optind - 1] );
    503503                        } // if
    504                         __attribute__((fallthrough));
     504                        #if __GNUC__ < 7
     505                        #else
     506                                __attribute__((fallthrough));
     507                        #endif
    505508                  default:
    506509                        abort();
Note: See TracChangeset for help on using the changeset viewer.