Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.0.1
-
None
Description
Creator seems to highlight lots of valid c++ as invalid.
Examples:
creating function pointers:
void foo() {
AttemptResult (QMailStorePrivate::func)(QMailMessage, const QString&, const QStringList&, QMailMessageIdList*, QMailMessageIdList*, QMailFolderIdList*, QMailAccountIdList*, Transaction&, bool) = &QMailStorePrivate::attemptAddMessage;
}
..and even normal pointers:
void foo(sqlite3_stmt *statement)
Namespace aliases...
namespace pt = boost::posix_time;
void foo(pt:ptime p); // but writing: "void foo(boost::posix_time::ptime p);" would be fine
etc.
Attachments
Issue Links
- depends on
-
QTCREATORBUG-1868 c++0x assignment with initializer list marked as wrong code
- Closed
-
QTCREATORBUG-1270 Qt Creator marks friend template function as an error
- Closed