[LLVMbugs] [Bug 9157] Use of undeclared 'operator[]'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 7 09:07:18 PST 2011


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

Douglas Gregor <dgregor at apple.com> changed:

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

--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2011-02-07 11:07:17 CST ---
Without any context, there's no way we can determine whether your code is wrong
or whether Clang has a bug. I strongly suspect that your code is wrong, and
that you're hitting either

  http://clang.llvm.org/compatibility.html#dep_lookup

or

  http://clang.llvm.org/compatibility.html#dep_lookup_bases

both of which are common migration problems where g++/llvm-g++ accept code that
is actually incorrect.

If you believe that Clang is wrong, please provide a small, self-contained
example that demonstrates the problem you are seeing. The example should
compile with g++/llvm-g++ but not with Clang.

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