[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: stgructure initialization stype shows as error
From:       Alexander Dymo <dymo () ukrpost ! ua>
Date:       2008-08-29 10:03:39
Message-ID: 200808291303.39556.dymo () ukrpost ! ua
[Download RAW message or body]

On Friday 29 August 2008 10:57:43 dizzy wrote:
> First of all there is no valid syntax like that with "a:". It may be some
> compiler extension. The valid C99 syntax to initialize struct/union members
> being named is using ".a" instead in his code example. Also, because this
> is C99 it's not C++03.  Maybe C++0x will have it tho I fail to find that
> information in the WG21 papers.

I've looked into the '03 standard - there's no such initialization in it. "g++ 
--pedantic" will also complain.


_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic