On Fri, 27 Feb 2026 at 20:02, Jean-Christian CÎRSTEA wrote:
> > This would be a lot easier if we could just add -std=gnu++17 to the build
> > flags for libcody, and then use char8_t and u8';' character literals. We
> > couldn't need the S2C functions at all.
>
> I agree with this. Maybe do this in a separate patch?

I don't think we _can_ do it, unfortunately. I think libcody has to
support building with non-GCC compilers for a non-bootstrap build, and
we only require those to support C++14.

One day GCC will probably switch to being implemented in C++17, and
require a conforming C++17 compiler. When that happens we would be
able to use char8_t and u8 character literals.

Reply via email to