Changeset 45c39ad in mainline


Ignore:
Timestamp:
2018-06-27T16:57:59Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8dab988
Parents:
6b96dc06
Message:

Use attribute((noreturn)) instead of mutually incompatible standard versions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abi/include/_bits/__noreturn.h

    r6b96dc06 r45c39ad  
    4646#ifndef __noreturn
    4747
    48 #if __cplusplus >= 201103L
    49 #define __noreturn  [[noreturn]]
    50 #elif __STDC_VERSION__ >= 201112L
    51 #define __noreturn  _Noreturn
    52 #elif (__GNUC__ >= 3) || (defined(__clang__) && __has_attribute(noreturn))
     48#if (__GNUC__ >= 3) || (defined(__clang__) && __has_attribute(noreturn))
    5349#define __noreturn __attribute__((noreturn))
    5450#else
Note: See TracChangeset for help on using the changeset viewer.