Xref: news2.mv.net comp.os.msdos.djgpp:6747 gnu.gcc.help:7714 From: haack AT hp403 DOT den DOT mmc DOT com (Brad R. Haack) Newsgroups: gnu.gcc.help,comp.os.msdos.djgpp Subject: array init warning Date: 31 Jul 1996 08:53:07 -0600 Organization: Lockheed Martin Astronautics Lines: 14 Sender: haack AT hp403 DOT den DOT mmc DOT com Message-ID: NNTP-Posting-Host: hp403.den.mmc.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I'm using the djgpp port of gcc 2.7.2 on a pentium. Why does this style of initialization result in a warning (missing braces around initializer for`junk[0]') ? It seems like a reasonable and safe style to me. What flag would I use to turn this off? I'm using -Wall currently. int junk[2][3] = { 1, 2, 3, 4, 5, 6} ; Brad Haack haack AT ast DOT lmco DOT com 303-977-4402 Lockheed Martin Astronautics, Denver CO