Sender: crough45 AT amc DOT de Date: Fri, 11 Apr 1997 11:25:02 +0100 From: Chris Croughton Mime-Version: 1.0 To: max AT alcyone DOT com Cc: djgpp AT delorie DOT com Subject: Re: funny re user-defined ++ and -- operators Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <97Apr11.122200gmt+0100.21891@internet01.amc.de> Erik Max Francis wrote: >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). I have a philosophical objection to having unused arguments. It comes from many years of compilers and lint complaining about unused arguments (so much so that I have a standard #define NOTUSED(x) (x=x) to satisfy compilers - it's usually optimised out but generally after it has suppressed the warning). Chris