This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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!!




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]