On Sun, Apr 14, 2024 at 05:55:03PM +0200, Gerald Pfeifer wrote:
> Hi Sebastian,
> 
> On Sat, 13 Apr 2024, Sebastian Huber wrote:
> > +  <li>The following warnings are now errors (see also
> > +    <a href="porting_to.html">Porting to GCC 14</a>):
> > +    <ul>
> > +      <li><code>-Werror=declaration-missing-parameter-type</code></li>
> > +      <li><code>-Werror=implicit-function-declaration</code></li>
> > +      <li><code>-Werror=implicit-int</code></li>
> > +      <li><code>-Werror=incompatible-pointer-types</code></li>
> > +      <li><code>-Werror=int-conversion</code></li>
> > +      <li><code>-Werror=return-mismatch</code></li>
> > +    </ul>
> 
> thanks for putting this together. Just a question, and maybe I'm confused:
> these don't look like warnings to me?
> 
> Are you saying that what used to be -Wint-conversion is now an error by 
> default and does not need to activated as such with any further options?
> 
> (That is, it appears as if those -Werror=... flags were used?)
> 
> And does this apply to all C versions/dialects?

No, so I think the change is certainly not appropriate in that form.
The porting_to.html, in particular porting_to.html#warnings-as-errors
has detailed explanation on what actually changed etc., so I think we just
want one short sentence that certain C warnings are now errors and refer
to particular porting_to.html#warnings-as-errors for details.
Because the above shortcut is certainly not true.

        Jakub

Reply via email to