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++/16696] Strange message when operator++ not found


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-23 20:58 -------
I think there is a couple of missing words, "to use".
So it should read "xx.cc:5: error: no `operator++(int)' declared for postfix `++', trying to use prefix 
operator instead".

But you are right, this is bogus, maybe the problem is that we used (or still do with -fpremisive) try to 
use prefix version of the operators.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-23 20:58:37
               date|                            |


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


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