This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
braces around scalar initializer
- From: "David Cullen" <dcullen7 at intergate dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 11 Dec 2002 05:50:20 -0500
- Subject: braces around scalar initializer
Why doesn't this work:
Rectangle *cherry[] = { { 10, 10, 100, 100 }, NULL };
Display.c:137: warning: braces around scalar initializer
Display.c:137: warning: (near initialization for `cherry[0]')
May God bless you,
David Cullen