This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/20422] Mismatch in pointer indirection level should give specialized warning


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]