This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/41142] make implicit pointer conversions an error when sizeof(int) != sizeof(void *)
- From: "redi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Aug 2009 17:03:08 -0000
- Subject: [Bug c/41142] make implicit pointer conversions an error when sizeof(int) != sizeof(void *)
- References: <bug-41142-18096@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from redi at gcc dot gnu dot org 2009-08-21 17:03 -------
-Werror=int-to-pointer-cast will make one class of warnings into errors, but I
don't think there's a switch to handle the other cases your script detects.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41142