[Bug c++/67582] typeof(*p) * fails when p is void *
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 15 09:47:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67582
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
You can't dereference a void*, so why do you expect to be able to get the type
of an invalid expression?
More information about the Gcc-bugs
mailing list