[LLVMbugs] [Bug 20877] New: Problem with C++11 templates and friend (version 3.5)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Sep 8 02:27:02 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20877
Bug ID: 20877
Summary: Problem with C++11 templates and friend (version 3.5)
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: jwillemsen at remedy.nl
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 13007
--> http://llvm.org/bugs/attachment.cgi?id=13007&action=edit
clang 3.5 zipped preprocessed file
The attached preprocessed file causes the following compiler error on our code.
It does compile with gcc and icpc, but not with clang. I haven't been able to
reproduce outside of our code base until now. Ignore the missing exception
warnings for the moment.
Preprocessed file was created on a fc20 x86_64 system using clang 3.5 binary
version
PolicyC.cpp:169:18: error: no matching function for call to 'make_reference'
return CORBA::make_reference<Policy> (new
TAOX11_NAMESPACE::Object_proxy (_pp_copy));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./PolicyC.h:243:37: note: candidate template ignored: couldn't infer template
argument ''
friend object_reference<_Tp1> make_reference(Args&& ...args);
--
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/20140908/2728dd1c/attachment.html>
More information about the llvm-bugs
mailing list