This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11617] [3.4 regression] g++ does not report missing member functions
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2003 17:03:20 -0000
- Subject: [Bug c++/11617] [3.4 regression] g++ does not report missing member functions
- References: <20030721164104.11617.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11617
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2003-07-21 17:03:19
date| |
------- Additional Comments From bangerth at dealii dot org 2003-07-21 17:03 -------
Confirmed indeed. You left in a little cruft from the previous
example, here's something smaller:
----------------------------
struct B {};
template <typename T> struct C {
virtual void bar() const { T::foo(); }
};
int main () {
C<B> c;
c.bar();
}
--------------------------------
This *compiles*, and even *executes*. Wow!
W.