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: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
/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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs