Paul Eggert wrote in <https://lists.gnu.org/archive/html/bug-gnulib/2024-07/msg00289.html>: > +void c23_noreturn (); > + > +bool use_u8 = !u8"\xFF" == u8'\''x'\'';
When configuring a gnulib testdir with a gcc 15 snapshot, this line produces two warnings: conftest.c:38:25: warning: comparison of constant '120' with boolean expression is always false [-Wbool-compare] 38 | bool use_u8 = !u8"\xFF" == u8'x'; | ^~ conftest.c:38:25: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] conftest.c:38:15: note: add parentheses around left hand side expression to silence this warning 38 | bool use_u8 = !u8"\xFF" == u8'x'; | ^~~~~~~~~ | ( ) What is this line meant to test? - Support for hex escapes in UTF-8 string literals? - Comparison of bool values against int values? Bruno