[Bug c/21948] [diagnostic] enable errors on `cast from/to pointer to/from integer of different size`

2007-02-25 Thread pluto at agmk dot net
--- 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

[Bug c/21948] [diagnostic] enable errors on `cast from/to pointer to/from integer of different size`

2007-02-25 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2007-02-25 16:03 --- (In reply to comment #3) (In reply to comment #2) 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

[Bug c/21948] [diagnostic] enable errors on `cast from/to pointer to/from integer of different size`

2007-02-25 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-02-25 16:17 --- Fixed in 4.2. Closing as fixed as this is a request for a new feature. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/21948] [diagnostic] enable errors on `cast from/to pointer to/from integer of different size`

2005-09-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-18 01:58 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c/21948] [diagnostic] enable errors on `cast from/to pointer to/from integer of different size`

2005-06-07 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|other |c Keywords||diagnostic