OSDN Git Service

add static_assert and hide noreturn, alignas, alignof from C++
authorSzabolcs Nagy <nsz@port70.net>
Tue, 26 Aug 2014 15:42:15 +0000 (17:42 +0200)
committerRich Felker <dalias@aerifal.cx>
Wed, 27 Aug 2014 06:55:54 +0000 (02:55 -0400)
commit70729de075bfe3138b05af91ecefcd5786bed5ac
tree728f053fe4790f7b7cce78b83d187305a378b74d
parent18dde0071334e2e7f71972b80df7779280c801cf
add static_assert and hide noreturn, alignas, alignof from C++

add static_assert and protect the other new C11 keyword macros
with #ifndef __cplusplus so they don't conflict with C++ keywords.
include/assert.h
include/stdalign.h
include/stdnoreturn.h