[LLVMbugs] [Bug 23023] New: clang-cl: cannot compile operator""if

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 25 12:27:48 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23023

            Bug ID: 23023
           Summary: clang-cl: cannot compile operator""if
           Product: clang
           Version: trunk
          Hardware: Other
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: marci_r at web.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

clang-cl fails to compile MSVC14's <complex> because of the following compile
errors:

C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\complex(1337,33): error : expected identifier
  inline complex<float> operator""if(long double _Val)
                                  ^
C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\complex(1342,33): error : expected identifier
  inline complex<float> operator""if(unsigned long long _Val)
                                  ^

Tested with Visual C++ 14 CTP6 and clang-cl r233105.

-- 
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/20150325/3d631040/attachment.html>


More information about the llvm-bugs mailing list