HomeFreeBSD

Suppress -Wempty-body warnings in GCC 6.x and later.

Description

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)

Details

Provenance
jhbAuthored on Aug 31 2020, 9:57 PM
dimCommitted on Sep 2 2021, 11:30 PM
Reviewer
dim
Differential Revision
D26257: Suppress -Wempty-body warnings in GCC 6.x and later.
Parents
R10:c7bb9802495a: Disable errors for -Wredundant-decls for GCC 6+.
Branches
Unknown
Tags
Unknown