------- Comment #1 from pinskia at gcc dot gnu dot org  2005-10-28 15:17 -------
Fixed in 4.0.0 and above at least:
t.cc:1: error: declaration of ‘operator-’ as non-function
t.cc:1: error: ‘foo’ was not declared in this scope
t.cc:1: error: ‘foo’ was not declared in this scope
t.cc:4: error: ‘foo’ has not been declared
t.cc:4: error: ‘foo’ has not been declared
t.cc:4: error: ‘int bar::operator-(int, int)’ must take either zero or one
argument


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |diagnostic
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24567

Reply via email to