> From: Jonathan Wakely <jwakely....@gmail.com>
> Date: Wed, 10 May 2023 09:04:12 +0100
> Cc: Florian Weimer <fwei...@redhat.com>, "gcc@gcc.gnu.org" <gcc@gcc.gnu.org>, 
>       Jakub Jelinek <ja...@redhat.com>, Arsen Arsenović <ar...@aarsen.me>
> 
> void foo(int);
> void bar() { foo("42"); }
> 
> Why should this compile?

Because GCC is capable of compiling it.

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

It compiles today with a warning, so that whoever is interested to fix
the code, can do that already.  The issue at hand is not whether to
flag the code as highly suspicious, the issue at hand is whether
upgrade the warning to errors.  So let's talk about the issue at hand,
not about something else, okay?

Reply via email to