Possible C Compiler Bug?

M.J.Shannon mjs at sfsup.UUCP
Tue Jun 10 06:58:57 AEST 1986


In article <3400004 at wvlpdp> john at wvlpdp writes:
>This will not [compile]:
>main()
>{
>	/* valid C here */
>	goto here;
>	/* more valid C */
>here:
>}
>John A. Ebersold

No, this is not a compiler bug.  A label must precede a statement, and you
have no statement following your label.
-- 
	Marty Shannon
UUCP:	ihnp4!attunix!mjs
Phone:	+1 (201) 522 6063

Disclaimer: I speak for no one.

"If I never loved, I never would have cried." -- Simon & Garfunkel



More information about the Comp.lang.c mailing list