Disallow the -fchar8_t
and -fno-char8_t
options for C modes
#55373
Labels
clang:driver
'clang' and 'clang++' user-facing binaries. Not 'clang-cl'
confirmed
Verified by a second party
Clang 15 trunk currently allows the
-fchar8_t
and-fno-char8_t
options to be specified when compiling in C modes and the former has the effect of causingchar8_t
to be both a keyword and a type specifier. This behavior is not desirable; in C23,char8_t
is a typedef ofunsigned char
declared inuchar.h
. See N2653 for details.This issue will track changing Clang to reject the
-fchar8_t
and-fno-char8_t
options in C modes or to ignore them with an appropriate diagnostic.The text was updated successfully, but these errors were encountered: