Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!ogicse!orstcs!mist.CS.ORST.EDU!budd From: budd@mist.cs.orst.edu (Tim Budd) Newsgroups: comp.lang.c++ Subject: GNU bug? Message-ID: <20088@orstcs.CS.ORST.EDU> Date: 31 Aug 90 21:35:01 GMT Sender: usenet@orstcs.CS.ORST.EDU Organization: Computer Science Department, Oregon State Univ. Lines: 17 Originator: budd@mist.CS.ORST.EDU I'm running Gnu C++ version 1.37, and either I'm misunderstanding something or I have a compiler bug. In short, the compiler doesn't seem to let me use access control specifiers on operators. That is, if I have class A { public: int operator++(); }; class B : private A { public: A::operator++; }; The compiler complains with the curious message that an operator name is missing on the line ``A::op...'' in class B. My reading of Ellis and Stroustrup is that this should be legal. Which is wrong, me or GNU?