[Bug c/41142] make implicit pointer conversions an error when sizeof(int) != sizeof(void *)

2019-09-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41142 Martin Sebor changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c/41142] make implicit pointer conversions an error when sizeof(int) != sizeof(void *)

2017-02-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41142 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug c/41142] make implicit pointer conversions an error when sizeof(int) != sizeof(void *)

2009-08-21 Thread redi 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