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
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D26257

Details

Provenance
jhbAuthored on Aug 31 2020, 9:57 PM
Parents
rGd10af81d2def: Fix the build of scandir_b with GCC.
Branches
Unknown
Tags
Unknown