[LLVMbugs] [Bug 14340] New: constexpr related compiler error after r167514

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 14 12:40:30 PST 2012


             Bug #: 14340
           Summary: constexpr related compiler error after r167514
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: akyrtzi at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 9538
  --> http://llvm.org/bugs/attachment.cgi?id=9538
preprocessed file

The attached preprocessed file would parse without compiler errors, but after
r167514 it gives this error:
error: no matching constructor for initialization of 'duration'

Run on clang like this:
$ clang -fsyntax-only main.cpp -std=c++11

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