[Bug c++/64531] `casting between pointer-to-function and pointer-to-object` is still a warning instead of error with `-pedantic -pedantic-errors`

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 15 02:29:00 GMT 2016


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |manu at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Harald van Dijk from comment #2)
> It's already been fixed.
[...]
> But the comments in PR 60850 note that this may have been a bad idea (at
> least a bad idea for a release branch).

Since this one is about the error/warning inconsistency. I'll close this one.
(GCC 6 does not even warn).


More information about the Gcc-bugs mailing list