This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11617] [3.4 regression] g++ does not report missing member functions


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]