[LLVMbugs] [Bug 13637] New: Grammatical error in the error message shown when inheriting constructors is not supported.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 18 10:30:38 PDT 2012


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: unassignedclangbugs at nondot.org
        ReportedBy: daknok at me.com
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list