This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Array Initialization warnings
- From: David Stroupe <dstroupe at keyed-upsoftware dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 20 Apr 2002 09:53:21 -0500
- Subject: RE: Array Initialization warnings
Hi guys,
Michal Liptak wrote:
>
> I think the internal representation of int[4][4] is the same as int[16]
> m.
>
That is usually the case, i would think, but i am not sure, it
is required by the standard, so i would not rely on that.
Just to clarify...the standard requires the brackets be placed as in
your example? If so, guess I had best get to bracketing my arrays.
I really did not want to have to go back and recode my array that looks
like this:
BYTE SUBIMG_NTSC[2][2][4][3][8] = {...
Thanks to all for the info!!