[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: RE: KDE/kdevelop
From: Kris Wong <wongk () seapine ! com>
Date: 2008-01-08 12:48:27
Message-ID: A744DCAEEDDFFD4B9D0D5B153D2712839C89BF03 () ex4 ! seapine ! com
[Download RAW message or body]
> has foreach been added as part of the new C++ standard? I was under
> the impression it was only a Qt extension.
This is a Qt macro. The parser shouldn't need to know how to parse it, as it's \
defined in qglobal.h.
Along those lines, adding the following to the "special headers" in the C++ Parsing \
section of the KDevelop configuration did not seem to work:
#define foreach(x, y) x;
then, using:
foreach (MyClass myclass, myclasslist)
{
myclass. // <-- code completion does not work
}
Does not function properly. The "myclass" variable is unresolved.
Kris Wong
_______________________________________________
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