"Partially elided initialisation" on initialising 2-D array
- From: mark.bergman@xxxxxxxxxxxxx
- Date: 20 Dec 2006 03:03:55 -0800
Running lint on code initialising a local 2-D array gives a warning.
void f(void)
{
int a[5][3] = { 0 };
...
lint gives "warning: Partially elided initialisation..."
Should this be happening, and what does it mean (the warning does not
occur for 1-D array)?
[Running "lint -std1 -u -x a.c" on Tru64 platform]
TIA
Mark
.
- Follow-Ups:
- Re: "Partially elided initialisation" on initialising 2-D array
- From: Keith Thompson
- Re: "Partially elided initialisation" on initialising 2-D array
- From: Richard Bos
- Re: "Partially elided initialisation" on initialising 2-D array
- Prev by Date: Re: i++, ++i, i+=1 and i = i+1;
- Next by Date: Re: Files & dirs: historical reasons?
- Previous by thread: Beginer's question about array pointer, why doesn't my programme work?
- Next by thread: Re: "Partially elided initialisation" on initialising 2-D array
- Index(es):
Relevant Pages
|