[LLVMbugs] [Bug 8151] New: Ambiguous name lookup compiling error
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Sep 15 00:41:35 PDT 2010
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: unassignedclangbugs at nondot.org
ReportedBy: scoopr at iki.fi
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
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.
More information about the llvm-bugs
mailing list