# Bcc: control
severity 475675 minor
forwarded 475675 
http://sourceforge.net/tracker/index.php?func=detail&aid=1942710&group_id=34302&atid=459911
thanks

On 08/04/12 10:55 +0200, Helmut Grohne said ...
> Declaring
> 
> struct foo *(bar[baz]);
> 
> makes splint spit out tons of warnings when accessing bar[qux]->quux,
> because it thinks foo is of type struct foo * whereas it really is
> struct foo **. This behaviour is wrong and makes checking some files
> almost impossible.

I've forwarded this upstream with a small test case.  I agree that this
is a nuisance, but just doing a "struct foo *bar[baz]" works fine, so I
am reducing the priority to minor.

Workarounds, patch fixing this etc. are welcome :)

Cheers,

Giridhar

-- 
Y Giridhar Appaji Nag | http://www.appaji.net/

Attachment: signature.asc
Description: Digital signature

Reply via email to