http://llvm.org/bugs/show_bug.cgi?id=13637
Bug #: 13637
Summary: Grammatical error in the error message shown when
inheriting constructors is not supported.
Product: clang
Version: 3.1
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 9072
--> http://llvm.org/bugs/attachment.cgi?id=9072
The entire source file that causes the error.
I tried the following code.
class IOError : public std::runtime_error {
public:
using std::runtime_error::runtime_error;
};
Unfortunately, clang does not yet support inheriting constructors.
The error message reads:
> ccake/core/error.h++:8:31: Inheriting constructors are not supported
It should read “Inheriting constructors is not supported” instead.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs