[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: Re: stgructure initialization stype shows as error
From: Hamish Rodda <rodda () kde ! org>
Date: 2008-08-29 6:59:14
Message-ID: 200808291659.14648.rodda () kde ! org
[Download RAW message or body]
Hi,
On Friday 29 August 2008 15:25:57 Kishore wrote:
> In C, structures can be initialized by either having comma separated values
> or by using member names as is shown below. Using the second method, shows
> a red error mark with kdevelop.
>
> struct SomeStruct
> {
> int a;
> int b;
> };
>
> struct SomeStruct someStruct =
> {
> a: 10, //<-- : on this line is marked in red
> b: 20
> };
>
> The above code is valid code but is not considered so by kdevelop.
Is this the same for c++? (we don't officially support C yet)
Cheers,
Hamish.
_______________________________________________
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