[LLVMbugs] [Bug 6593] False error: use of undeclared identifier 'address'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Mar 13 20:22:15 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=6593

Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Douglas Gregor <dgregor at apple.com> 2010-03-13 22:22:14 CST ---
Clang is correct in rejecting this code. As the note says, you need to qualify
the call to address, because name lookup doesn't look in dependent base
classes. This is two-phase name lookup, which GCC doesn't implement properly
but Clang does.

-- 
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