warning: '/*' within comment

Adam Stoller ghoti+ at andrew.cmu.edu
Mon Jun 4 22:31:37 AEST 1990


Use the alternate style of commenting - i.e. instead of:

/*
Sample usage:
	mkscript src/*.c src/*.h src/makefile man/* readme > dist.txt
*/

Try:

#if 0
Sample usage:
	mkscript src/*.c src/*.h src/makefile man/* readme > dist.txt
#endif /* 0 */

I believe that this should pass through lint, compiler, linker, etc.
without any problem - and not conflict with ANSI in any way (at least
none that I recall reading)

--fish
( I'm not an authority - and I don't play one on tv )



More information about the Comp.std.c mailing list