ambiguous why?

Karl Heuer karl at haddock.ISC.COM
Wed Apr 6 01:58:40 AEST 1988


In article <1303 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.

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