[LLVMbugs] [Bug 18010] New: Instantiating operator<< for std::basic_ostream<char32_t> fails

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 20 15:32:50 PST 2013


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: hhinnant at apple.com
          Reporter: stuart_olsen at txstate.edu
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131120/d3ec7f8f/attachment.html>


More information about the llvm-bugs mailing list