http://llvm.org/bugs/show_bug.cgi?id=18010

            Bug ID: 18010
           Summary: Instantiating operator<< for
                    std::basic_ostream<char32_t> fails
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 11575
  --> http://llvm.org/bugs/attachment.cgi?id=11575&action=edit
Source code and errors for this bug

Under clang 3.4 (trunk 194413) and libc++ (trunk 194418), trying to use
operator<< to print a UTF-32 string literal to a std::basic_ostream<char32_t>
results in an implicit instantiation of an undefined template, and thus an
error.

Compiling reproduce.cc (attached) yields the attached error messages using
'clang++ -std=c++1y -stdlib=libc++ reproduce.cc'. This actually caused clang to
crash one while I was reducing the code to the problematic portions, but I have
not been able to reproduce this.

-- 
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

Reply via email to