Path: utzoo!utgpu!water!watmath!rbutterworth From: rbutterworth@watmath.waterloo.edu (Ray Butterworth) Newsgroups: comp.lang.c Subject: Re: old-style assignment operators Message-ID: <18521@watmath.waterloo.edu> Date: 26 Apr 88 14:02:41 GMT References: <1303@PT.CS.CMU.EDU>, <270@hotlr.ATT> <1988Apr11.202721.20786@utzoo.uucp> Organization: U of Waterloo, Ontario Lines: 14 In article <1988Apr11.202721.20786@utzoo.uucp>, henry@utzoo.uucp (Henry Spencer) writes: > X3J11 has removed the old-style assignments operators (e.g. =-) from the > language (and has also required the new-style operators to be single tokens). > However, code containing the old operators is still around, and it is just > as well if compilers continue to issue warnings about the matter. The real problem isn't with compilers that issue warnings, it is with compilers (such as BSD's) that issue the warning and then go ahead and interpret "x=-1" as "x -= 1". Issue the warning, fine, but please interpret it the "correct" way, not the way that has been wrong for a decade. If they had done that all along, the old code would have been fixed by now instead of being left as it was since it still compiles ok if you ignore the warings.