Re: [PATCH] c: Enable -f{,no-}char8_t option for C/ObjC

2024-08-14 Thread Jakub Jelinek
On Wed, Aug 14, 2024 at 03:29:24PM +, Joseph Myers wrote: > On Wed, 14 Aug 2024, Jakub Jelinek wrote: > > > The following patch enables the option also for C/ObjC. > > I still disapprove of creating the combinatorial complexity of language > variants with individual small features like this

Re: [PATCH] c: Enable -f{,no-}char8_t option for C/ObjC

2024-08-14 Thread Joseph Myers
On Wed, 14 Aug 2024, Jakub Jelinek wrote: > The following patch enables the option also for C/ObjC. I still disapprove of creating the combinatorial complexity of language variants with individual small features like this enabled / disabled, as I said in

[PATCH] c: Enable -f{,no-}char8_t option for C/ObjC

2024-08-14 Thread Jakub Jelinek
Hi! The N2653 paper contains: "The proposed change to the type of UTF-8 string literals impacts backward compatibility as described in the following sections. Implementors are encouraged to offer options to disable char8_t support when necessary to preserve compatibility with C17." While we do hav