This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53225] static operator new in multiple inheritance carries incorrect type information for the class
- From: "dimitrisdad at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 05 May 2012 00:48:57 +0000
- Subject: [Bug c++/53225] static operator new in multiple inheritance carries incorrect type information for the class
- Auto-submitted: auto-generated
- References: <bug-53225-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53225
--- Comment #33 from Thomas W. Lynch <dimitrisdad at gmail dot com> 2012-05-05 00:48:57 UTC ---
You say accessing type in operator new is illegal by the standard, but the
compiler doesn't give an error though doing so is bloody obvious and I have the
strick checking turned on- but that is ok, and I am somehow causing trouble by
reporting this.
You say that I got the correct answer when I inherited a method and used it in
a child and it gave me the result a parent would have but a child wouldn't.
You say that I did something wrong and so I deserve the results - then why do
we have type checking? Now you parade me around as though I'm causing trouble
for reporting this and acting like I need lessons in C++. That will teach me
to make a report.
I don't know Jon, I just don't get it.