[Bug c/26533] error: invalid use of void expression
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Mar 2 21:14:00 GMT 2006
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-02 21:14 -------
The first one is ok C even though it is not OK C89 but it is fine C99.
The second one is not ok C at all, since you are deferencing a void pointer.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26533
More information about the Gcc-bugs
mailing list