Re: [PATCH] Improve error message if using a member of an incomplete struct or union

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pavel Roskin wrote:
> sparse should distinguish two cases.  One is when the structure or union
> is declared and the member is not found.  Another is when the structure
> or union is not yet declared.  In the later case, the message should
> indicate that the type is incomplete, rather than complain that the
> particular member is not found.
> 
> Mention the incomplete type like gcc does, but provide the member name
> too, it may be useful.

Applied; thanks.

- Josh Triplett


Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux