Initializing structures

Mark Mitchell mark@codesourcery.com
Thu Apr 12 10:16:00 GMT 2001


>>>>> "Tim" == Tim Josling <tej@melbpc.org.au> writes:

    Tim> Can anyone rule in or out the possibility of getting the
    Tim> first option struct mystruct XXX= "AAABBBCCC"; ?

This will not work.

And, in my opinion, should not; I think forcing front-ends to bust the
initializer up into the various element initializers is the right
thing.

Sorry,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc mailing list