From owner-freebsd-current Sat Jan 18 13:49:55 2003 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id D90EA37B401; Sat, 18 Jan 2003 13:49:54 -0800 (PST) Date: Sat, 18 Jan 2003 13:49:54 -0800 From: Juli Mallett To: David O'Brien Cc: Scott Long , Mark Murray , freebsd-current@freebsd.org Subject: Re: VM_METER no longer defined? Message-ID: <20030118134954.A76377@FreeBSD.org> References: <200301182133.h0ILXBaX047136@grimreaper.grondar.org> <3E29C9DD.3050507@btc.adaptec.com> <20030118214723.GE70151@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030118214723.GE70151@dragon.nuxi.com>; from obrien@freebsd.org on Sat, Jan 18, 2003 at 01:47:23PM -0800 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: David O'Brien [ Data: 2003-01-18 ] [ Subjecte: Re: VM_METER no longer defined? ] > On Sat, Jan 18, 2003 at 02:40:45PM -0700, Scott Long wrote: > > a line like > > > > #warning "VM_METER is deprecated and will be removed on kluctember 43, 2861" > > > > would be nice to, of course. =-) > > I wanted this, but I don't know who to implement it so that it only > prints out IIF VM_METER is used somewhere in 3rd party code. Could you do something like define VM_METER to some libc symbol that is a constant zero, and then warn on link-time reference? -- Juli Mallett AIM: BSDFlata -- IRC: juli on EFnet. OpenDarwin, Mono, FreeBSD Developer. ircd-hybrid Developer, EFnet addict. FreeBSD on MIPS-Anything on FreeBSD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message