diff options
author | ed <ed@FreeBSD.org> | 2017-09-27 11:31:11 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2017-09-27 11:31:11 +0000 |
commit | b6ec5b6da17c48812919ccce1187fdbf3ecfc231 (patch) | |
tree | a0186e667d56e36ef2a9ad75cf43345c79fb22c3 /sys/sparc64/conf | |
parent | 95e0ec693530205c3ae4f03f3a134af5be6656d0 (diff) | |
download | FreeBSD-src-b6ec5b6da17c48812919ccce1187fdbf3ecfc231.zip FreeBSD-src-b6ec5b6da17c48812919ccce1187fdbf3ecfc231.tar.gz |
MFC r322965:
Make _Static_assert() work with GCC in older C++ standards.
GCC only activates C11 keywords in C mode, not C++ mode. This means
that when targeting an older C++ standard, we cannot fall back to using
_Static_assert(). In this case, do define _Static_assert() as a macro
that uses a typedef'ed array.
Diffstat (limited to 'sys/sparc64/conf')
0 files changed, 0 insertions, 0 deletions