🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #6153

Re: Yet Another Lint Foul-up

#6153
From: Tom Jaskiewicz
Date: Wed, 11 Jan 1989 01:18
17 lines
1083 bytes
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.
Technical Details
Message-ID: <2883@alliant.Alliant.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!amdahl!pyramid!prls!philabs!linus!alliant!tj
References: <16441@lll-winken.LLNL.GOV> <1163@goofy.megatest.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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