------- Comment #3 from pluto at agmk dot net 2007-02-25 14:22 ------- (In reply to comment #2) > Could you elaborate a litte bit more for me? > > We have already -Wint-to-pointer-cast and -Wpointer-to-int-cast enabled by > defaul in C. Don't those work for you?
as i have said, i need a compilation error on such casts. 4.2 has a nice -Werror=foo feature, but this PR is about 4.1. if you don't plan to backport -Werror=foo feature to 4.1 i'll close this PR with suitable comment. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21948