Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 95 19:59:29 MDT
From:      terry@cs.weber.edu (Terry Lambert)
To:        imp@village.org (Warner Losh)
Cc:        asami@cs.berkeley.edu (Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=), rgrimes@gndrsh.aac.dev.com, hsu@freefall.cdrom.com, jkh@freefall.cdrom.com, hackers@freefall.cdrom.com
Subject:   Re: #if instead of .if
Message-ID:  <9504260159.AA03716@cs.weber.edu>
In-Reply-To: <199504260046.SAA23052@rover.village.org> from "Warner Losh" at Apr 25, 95 06:46:01 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> : you can't use #.  See how much trouble the X/imake folks go through
> : (use XCOMM in their Imakefile, which are replaced with # for Makefile, 
> : ugh) to avoid this problem.
> 
> That is done because cpp on some systems whines loudly or refuses to
> work when you don't have a valid directive name after the #.  It has
> little to do with the comment directive duality.
> 
> In fact, many languages use this:
> 	1) Dec Fortran has CDEC xxx in column 1 (a comment by any
> 		other name...
> 	2) lint has /*NOTREACHED*/

Lint has a hell of a lot more than that!  I guess you could argue
precedent, if we had lint.  ;^).


					Terry Lambert
					terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9504260159.AA03716>