Problems with GCC and/or VAX LINK

Colin Plumb w-colinp at microsoft.UUCP
Fri Mar 17 16:54:48 AEST 1989


ccdn at levels.sait.edu.au (DAVID NEWALL) wrote:
> Mind you, this is still a problem.  A program section which is
> conditionally  _not_ compiled should be treated like a comment -- it
> shouldn't matter what's inside the #ifdef/#endif.

Yes, it should.  In particular, consider the string:
"This\n\
is a test\n\
of\n\
#endif\n"

Even though the characters "#endif" appear at the beginning of a line,
they should not be treated as a preprocessor directive.
-- 
	-Colin (uunet!microsoft!w-colinp)

"Don't listen to me.  I never do." - The Doctor



More information about the Comp.lang.c mailing list