Path: utzoo!attcan!uunet!lll-winken!ames!amdahl!pyramid!prls!philabs!linus!alliant!tj From: tj@Alliant.COM (Tom Jaskiewicz) Newsgroups: comp.lang.misc Subject: Re: Yet Another Lint Foul-up Message-ID: <2883@alliant.Alliant.COM> Date: 11 Jan 89 01:18:39 GMT References: <16441@lll-winken.LLNL.GOV> <1163@goofy.megatest.UUCP> Reply-To: tj@alliant.Alliant.COM (Tom Jaskiewicz) Organization: Alliant Computer Systems, Littleton, MA Lines: 17 From article <16441@lll-winken.LLNL.GOV>, by miller@lll-crg.llnl.gov (Patrick Miller): > With regards the ``exit'' (as well as any other routine that does > not exit). Why not just include a line like > > #define Exit(x) exit(x) /*NOTREACHED*/ (really nice idea!) In article <1163@goofy.megatest.UUCP> djones@megatest.UUCP (Dave Jones) writes: >Because cpp will probably remove the NOTREACHED comment. Actually it doesn't, because: >The Sun3 version has a cpp flag which says, "Leave the comments in," >but I don't think you can count on that being portable. This flag exists specifically for use by lint.