Re: Missing braces? I don't see where
Re: Missing braces? I don't see where
- Subject: Re: Missing braces? I don't see where
- From: Jens Alfke <email@hidden>
- Date: Tue, 27 Oct 2009 15:42:23 -0700
On Oct 27, 2009, at 3:36 PM, Chris Suter wrote:
In C you can specify which member you want to initialise, e.g.
static struct COLORDATA cd = { 0, false, { .rgb = { 0xffff,
0xffff, 0xffff } } };
I believe that's a GCC extension, not part of ANSI C. Or did they
standardize it in C99? (If so, that would explain why it doesn't work
in C++.)
—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden