This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51188] invalid static_cast from type 'XBase' to type 'int'
- From: "fabien at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 17 Nov 2011 09:52:40 +0000
- Subject: [Bug c++/51188] invalid static_cast from type 'XBase' to type 'int'
- Auto-submitted: auto-generated
- References: <bug-51188-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51188
fabien at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011-11-17
CC| |jason at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #2 from fabien at gcc dot gnu.org 2011-11-17 09:52:40 UTC ---
(In reply to comment #0)
[...]
> if I remove any of the superfluous statements in x.cpp it works fine!
There is a strange thing here, if we reach 7 members in a class, things are
done differently in the compiler.
Jason, I'd like to run the testsuite without this 7 member rule, how could I do
that ?
Thanks.