[Bug c/22020] poor error message for invalid cast in constant initializer
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Nov 30 09:22:00 GMT 2008
------- Comment #5 from ebotcazou at gcc dot gnu dot org 2008-11-30 09:21 -------
A little better with the current 4.4.0 compiler:
t.c:3: warning: cast from pointer to integer of different size
t.c:3: error: initializer element is not constant
but not as good as with the Sun compiler.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2005-11-08 03:29:13 |2008-11-30 09:21:18
date| |
Summary|Poor error message for |poor error message for
|invalid cast in constant |invalid cast in constant
|initializer |initializer
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22020
More information about the Gcc-bugs
mailing list