Mail Archives: djgpp/1997/04/11/06:00:17
Anthony.Appleyard wrote:
> t$.cc: In function `int main()':
> t$.cc:9: warning: no `operator++ (int)' declared for postfix `++', using
> prefix operator instead
> t$.cc:9: warning: no `operator++ (int)' declared for postfix `++', using
> prefix operator instead
> t$.cc:10: warning: no `operator++ (int)' declared for postfix `++', using
> prefix operator instead
> t$.cc:10: warning: no `operator++ (int)' declared for postfix `++', using
> prefix operator instead
These are legitimate warnings (probably they should be errors, though); you
haven't defnied a postfix operator ++ or operator --. To distinguish
between postfix and prefix operators, define them as taking an argument of
type int (you never have to use it).
--
Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com
Alcyone Systems / web / http://www.alcyone.com/max/
San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W
\
"The future / is right there."
/ Bill Moyers
- Raw text -