[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [kdevelop] [Bug 336197] New: parser does not understand 'auto*'
From: Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date: 2014-06-13 23:26:38
Message-ID: bug-336197-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=336197
Bug ID: 336197
Summary: parser does not understand 'auto*'
Classification: Unclassified
Product: kdevelop
Version: 4.6.0
Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Language Support: CPP
Assignee: kdevelop-bugs-null@kde.org
Reporter: mw_triad@users.sourceforge.net
Consider the following bit of code:
auto* foo = new QWidget();
This is perfectly valid code, with 'foo' having the type 'QWdiget*'. Alas,
KDevelop is very confused and thinks the type of 'foo' is 'int*'. If the '*' in
the declaration is omitted (also legal, and does not change the type of 'foo'),
KDevelop correctly deduces the type.
Reproducible: Always
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic