Precedence Question - (nf)

jdb at mordor.UUCP jdb at mordor.UUCP
Mon Feb 27 09:44:57 AEST 1984


I tried to compile a program containing the line

	a = b ? c = d : e;

with the V7 PDP-11 compiler.  It complained that it was an illegal
conditional expression.

Do more recent versions of Ritchie's compiler still flag this as an
error?
-- 
  John Bruner (S-1 Project, Lawrence Livermore National Laboratory)
  MILNET: jdb at s1-c	UUCP: ...!decvax!decwrl!mordor!jdb



More information about the Comp.lang.c mailing list