This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/83584] "ISO C forbids conversion of object pointer to function pointer type" -- no, not really
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Dec 2017 00:46:22 +0000
- Subject: [Bug c/83584] "ISO C forbids conversion of object pointer to function pointer type" -- no, not really
- Auto-submitted: auto-generated
- References: <bug-83584-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83584
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Your reading of the spec is different than the GCC folks read it.
See PR 11234 which requested the error in the first place. Note C11 and
C89/C90 has not changed in this area as far as I can tell.