CPP bug in sun OS cc?? (or ANSI standard interpretation??)

Robert Lupton the Good rhl at grendel.Princeton.EDU
Thu Aug 2 01:30:14 AEST 1990


The following fails to compile on a sparc running Sun O/S 4.0.3:

#define line LINE

main()
{
#line 1234 "junk.c"
}


as the "#line" is treated as "#LINE" -- does ansi allow this??

			Robert
			



More information about the Comp.lang.c mailing list