]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Suppress -Wempty-body warnings in GCC 6.x and later.
authorjhb <jhb@FreeBSD.org>
Mon, 31 Aug 2020 21:57:01 +0000 (21:57 +0000)
committerjhb <jhb@FreeBSD.org>
Mon, 31 Aug 2020 21:57:01 +0000 (21:57 +0000)
commitbd0c56ff0feaccce14a8eff284a6a163d18c0a06
tree802a045ee88a58da3ab9cfa9e5f736d78e725ed3
parent35e276fa3b037f23337ee083f5aa8e728bbea26e
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
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D26257
share/mk/bsd.sys.mk