Path: utzoo!dciem!array!colin From: colin@array.UUCP (Colin Plumb) Newsgroups: comp.lang.c Subject: Re: CPP bug in sun OS cc?? (or ANSI standard interpretation??) Message-ID: <412@array.UUCP> Date: 3 Aug 90 20:41:03 GMT References: <1579@idunno.Princeton.EDU> <384@array.UUCP> <21169@duke.cs.duke.edu> Organization: Array Systems Computing, Inc., Toronto, Ontario, CANADA Lines: 18 >> In article <1579@idunno.Princeton.EDU> rhl@grendel.Princeton.EDU (Robert Lupton (the Good)) writes: >>> The following fails to compile on a sparc running Sun O/S 4.0.3: ... >>> as the "#line" is treated as "#LINE" -- does ansi allow this?? > In article <384@array.UUCP> colin@array.UUCP (Colin Plumb) writes: >> Looks like it's illegal. In article <21169@duke.cs.duke.edu> khera@cs.duke.edu (Vick Khera) writes: > Since when did Sun claim their sparc compiler under 4.0.3 was ANSI > compliant? How can it be illegal if it never intended to follow the > new rules? Perhaps I phrased it misleadingly, but the question was "does ANSI allow this?" and I answered in the negative. I have no idea if Sun claims their compiler is ANSI-compliant or not. -- -Colin