ambiguous why?

Karl Heuer karl at haddock.ISC.COM
Fri Apr 8 01:35:47 AEST 1988


In article <1325 at PT.CS.CMU.EDU> edw at IUS1.CS.CMU.EDU (Eddie Wyatt) writes:
>>>	warning ambiguous assigment: assignment op taken  [*a+=*b;]
>>Your compiler scans "+=" as two tokens rather than one.  (Fixed in dpANS.)
>>This makes the anachronism "=*" (fixed in dpANS) visible.
>
>What a f***ing hack =* is then!!!!   If *= consists of two tokens
>so should =* which obviously doesn't

As I said, "fixed in dpANS".  The former by insisting that "+=" is one token;
the latter by removing the anachronism.  (The stupid thing has been obsolete
for about 10 years, and there are *still* compilers out there that assume you
must have meant the compound assignment operator!)

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint



More information about the Comp.lang.c mailing list