[Bug c/60100] warning disappears when preprocessed source is compiled

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 27 15:50:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60100

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|WAITING                     |RESOLVED
                 CC|                            |egallager at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #12 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to lavr from comment #10)
> > I guess also a dup of PR57201.
> 
> While I can agree these cases (and the one mentioned within PR57201) look
> similar, the gravity of the disappearing warning in case of a mismatched
> type is more severe than an unused variable or no-effect code...

The fact that PR57201 was originally about an unused variable is irrelevant,
it's the bug for warnings disappearing like this in general. Closing this as a
duplicate of it.

*** This bug has been marked as a duplicate of bug 57201 ***


More information about the Gcc-bugs mailing list