]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Suppress -Wempty-body warnings in GCC 6.x and later.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 31 Aug 2020 21:57:01 +0000 (21:57 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Thu, 2 Sep 2021 23:30:17 +0000 (01:30 +0200)
commit5fd3c9a1f67ad92812775c280d7a2d374706a7c5
treec4793231c47bd62cb5ebcc35266ba4a5b626b287
parentc7bb9802495a0c0b4efa2754c3257a783525a03d
Suppress -Wempty-body warnings in GCC 6.x and later.

libc++ in LLVM 11 uses an empty else clause in
include/c++/v1/__thread_support which triggers this warning.

Reviewed by: dim, emaste
Differential Revision: https://reviews.freebsd.org/D26257

(cherry picked from commit 73fd212c813d74ad593c93904c5d8edf763e6c54)
share/mk/bsd.sys.mk