This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/20422] Mismatch in pointer indirection level should give specialized warning
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Mar 2005 18:03:22 -0000
- Subject: [Bug c/20422] Mismatch in pointer indirection level should give specialized warning
- References: <20050311100700.20422.pbijdens@storagelabs.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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