http://llvm.org/bugs/show_bug.cgi?id=8151
Summary: Ambiguous name lookup compiling error
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Created an attachment (id=5493)
--> (http://llvm.org/bugs/attachment.cgi?id=5493)
Test case extracted from assimp
I'm trying to compile http://assimp.sf.net
Attached is a reduced testcase for this issue.
The error from it is:
test2.cpp:8:3: error: reference to 'Face' is ambiguous
Face *mFaces;
^
test2.cpp:1:22: note: candidate found by name lookup is 'A::Face'
namespace A { struct Face {}; }
^
test2.cpp:2:22: note: candidate found by name lookup is 'B::Face'
namespace B { struct Face {}; }
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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