More C type errors by default for GCC 14

Jonathan Wakely jwakely.gcc@gmail.com
Wed May 10 08:04:12 GMT 2023


On Wed, 10 May 2023, 03:32 Eli Zaretskii, <eliz@gnu.org> wrote:

>
> And then people will start complaining about GCC unnecessarily
> erroring out, which is a compiler bug, since there's no problem
> producing correct code in these cases.
>


What is the correct code for this?

void foo(int);
void bar() { foo("42"); }

Why should this compile?

You keep demanding better rationale for the change, but your argument
amounts to nothing more than "it compiles today, it should compile
tomorrow".

>


More information about the Gcc mailing list