[LLVMbugs] [Bug 18810] New: Clang misinterprets initialization
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Feb 12 01:50:41 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18810
Bug ID: 18810
Summary: Clang misinterprets initialization
Product: clang
Version: 3.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: dominik.strasser at onespin-solutions.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 12049
--> http://llvm.org/bugs/attachment.cgi?id=12049&action=edit
Testcase
The attached test case can't be compiled by clang but passes without any
hassles in g++ and the Oracle/Sunstudio C++ compiler.
The primary error message is:
foo.C:37:34: error: parameter declarator cannot be qualified
QCursor waitCursor(QCursor(Qt::WaitCursor));
The attached test case is a common Qt usage in our tools. I have removed
everything and only left the needed declarations.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140212/c62e7bf0/attachment.html>
More information about the llvm-bugs
mailing list