git: <sys/cdefs.h>: Simplify the _Noreturn compatibility macro.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed May 22 12:28:01 PDT 2013


commit e48c55283e4d0f6c4a45c12f7659117485942ce1
Author: Sascha Wildner <saw at online.de>
Date:   Wed May 22 20:15:23 2013 +0200

    <sys/cdefs.h>: Simplify the _Noreturn compatibility macro.
    
    Our g++ doesn't support [[noreturn]] yet. We might use [[gnu::noreturn]]
    here for now, but thinking about it, simpler is better, so just make it
    __dead2 for anything that doesn't claim to be C11.
    
    Buildworld-breakage-originally-pointed-out-by: sephe

Summary of changes:
 sys/sys/cdefs.h | 4 ----
 1 file changed, 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e48c55283e4d0f6c4a45c12f7659117485942ce1


-- 
DragonFly BSD source repository



More information about the Commits mailing list