[Bug c/20422] Mismatch in pointer indirection level should give specialized warning
falk at debian dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 11 18:03:00 GMT 2005
------- Additional Comments From falk at debian dot org 2005-03-11 18:03 -------
(In reply to comment #5)
> warning: passing arg 1 of `mymalloc':
> 'void **' differs in levels of indirection from 'char *'
>
> My suggestion therefore would be to move towards a situation where
> gcc distinguishes between those two cases in this same manner.
Okay, that might be useful indeed.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Summary|warning: passing arg 1 of |Mismatch in pointer
|`mymalloc' from incompatible|indirection level should
|pointer type |give specialized warning
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20422
More information about the Gcc-bugs
mailing list