Changeset c45b304


Ignore:
Timestamp:
Nov 2, 2018, 7:55:27 AM (3 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
f441c88
Parents:
f855545
Message:

protect fallthrough attribute for gcc-8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/TypeData.cc

    rf855545 rc45b304  
    1010// Created On       : Sat May 16 15:12:51 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Nov  1 20:56:14 2018
    13 // Update Count     : 623
     12// Last Modified On : Fri Nov  2 07:54:26 2018
     13// Update Count     : 624
    1414//
    1515
     
    424424          case Basetypeof:
    425425                os << "base-";
    426                 __attribute__((fallthrough));
     426                #if defined(__GNUC__) && __GNUC__ >= 7
     427                        __attribute__((fallthrough));
     428                #endif
    427429          case Typeof:
    428430                os << "type-of expression ";
Note: See TracChangeset for help on using the changeset viewer.