diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2025-08-22 15:55:24 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-08-22 16:32:02 -0700 |
commit | e377a7a8ecb7d829a62789286b9f6aff6e17ded7 (patch) | |
tree | 77d4d5e6ac41af4ca3a95c6ec95ec4c77847cd60 /sysdeps/unix/bsd/tcgetattr.c | |
parent | b4ab549ae5558b9fd818a6268c32480b51fda9f6 (diff) | |
download | glibc-e377a7a8ecb7d829a62789286b9f6aff6e17ded7.zip glibc-e377a7a8ecb7d829a62789286b9f6aff6e17ded7.tar.gz glibc-e377a7a8ecb7d829a62789286b9f6aff6e17ded7.tar.bz2 |
Disable -Wimplicit-fallthrough when clang is in use
Clang's -Wimplicit-fallthrough warning, which flags unannotated
fall-through in switch statements, does not recognize specific comments
like /* FALLTHROUGH */ for suppressing the warning, unlike GCC. Since
fall through comments are used extensively in glibc, disable
-Wimplicit-fallthrough when clang is in use.
This fixes BZ #33312.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Collin Funk <collin.funk1@gmail.com>
Diffstat (limited to 'sysdeps/unix/bsd/tcgetattr.c')
0 files changed, 0 insertions, 0 deletions