Re: "advancing past deep designator" warnings

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

 



On Sun, May 29, 2011 at 02:57:12PM -0700, Randy Dunlap wrote:
> Hi,
> 
> Can you give me an idea about what this warning means and what to do about it?
> Thanks.
>

It means that you have an array declared like:
	int x[] = {
		[4] = 5,  <-- designator.
		6         <-- advance one step.
	};

GCC handles these correctly, so I don't think we'd want to change
anything in the kernel because of them.

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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