A simple non-portable expression that lint passes

Tim Smith tim at ism780c.UUCP
Sat Apr 5 13:40:33 AEST 1986


If R and L are longs, and I is an int, then the expression

	L = R + 2 + i;

is non-portable.  Lint, however, does not complain about this.
( At least, lint on the PC6300+ and on the 3B2.  I didn't try
  any others ).

This is annoying...

-- 

Tim Smith       sdcrdcf!ism780c!tim || ima!ism780!tim || ihnp4!cithep!tim



More information about the Comp.lang.c mailing list