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

List:       kdevelop-bugs
Subject:    [Bug 220269] New: typedef of __typeof__ not parsed correctly
From:       Thorben Kröger <thorbenk () gmx ! net>
Date:       2009-12-27 13:27:55
Message-ID: bug-220269-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=220269

           Summary: typedef of __typeof__ not parsed correctly [testcase
                    included]
           Product: kdevelop
           Version: SVN
          Platform: Compiled Sources
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: cpp-parser
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: thorbenk@gmx.net


Created an attachment (id=39382)
 --> (http://bugs.kde.org/attachment.cgi?id=39382)
small testcase

the following code (also as attachment) compiles but kdevelop doesn't
understand it. This kind of construct is used in type_traits.h for instance.

int a;

//this works
__typeof__(a);

//kdevelop doesn't understand this:
typedef __typeof__(a) MyType;

//
//this appears for example in ext/type_trait.h,
//search for
// typedef __typeof__(__type1() + __type2()) __type;
//

int main() {
}

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

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