[LLVMbugs] [Bug 6462] New: wrong(?) error: member 'rdbuf' found in multiple base classes of different types
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Mar 2 08:53:12 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6462
Summary: wrong(?) error: member 'rdbuf' found in multiple base
classes of different types
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: ich at az2000.de
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
/Users/az/Programmierung/openlierox/src/common/Process.cpp:96:9: error: member
'rdbuf' found in multiple base classes of different types
if(p->rdbuf()) p->rdbuf()->kill();
^
In file included from
/Users/az/Programmierung/openlierox/src/common/Process.cpp:11:
In file included from
/Users/az/Programmierung/openlierox/./include/Process.h:13:
In file included from /usr/include/c++/4.0.0/iostream:43:
In file included from /usr/include/c++/4.0.0/ostream:43:
In file included from /usr/include/c++/4.0.0/ios:49:
/usr/include/c++/4.0.0/bits/basic_ios.h:306:7: note: member found by ambiguous
name
lookup
rdbuf() const
^
In file included from
/Users/az/Programmierung/openlierox/src/common/Process.cpp:83:
/Users/az/Programmierung/openlierox/./libs/pstreams/pstream.h:315:7: note:
member
found by ambiguous name lookup
rdbuf() const;
^
I am not exactly sure about this. Maybe the clang error is valid.
The point is that all GCC versions I have tried so far accept it. And I think
ICC too.
--
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