[llvm-bugs] [Bug 25795] New: clang-cl: "cannot mangle this reference temporary yet"

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 10 00:51:41 PST 2015


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

            Bug ID: 25795
           Summary: clang-cl: "cannot mangle this reference temporary yet"
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: marci_r at web.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Boost.Asio contains this line of code in its asio/detail/winsock_init.hpp:
static const winsock_init<>& winsock_init_instance = winsock_init<>(false);

clang-cl complains: "error : cannot mangle this reference temporary yet".

Unfortunately that prevents me from using clang-cl regularly as all of my
projects use Boost.Asio.

-- 
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/20151210/1a101c29/attachment-0001.html>


More information about the llvm-bugs mailing list