Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2003 13:49:54 -0800
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        David O'Brien <obrien@freebsd.org>
Cc:        Scott Long <scott_long@btc.adaptec.com>, Mark Murray <mark@grondar.org>, freebsd-current@freebsd.org
Subject:   Re: VM_METER no longer defined?
Message-ID:  <20030118134954.A76377@FreeBSD.org>
In-Reply-To: <20030118214723.GE70151@dragon.nuxi.com>; from obrien@freebsd.org on Sat, Jan 18, 2003 at 01:47:23PM -0800
References:  <200301182133.h0ILXBaX047136@grimreaper.grondar.org> <3E29C9DD.3050507@btc.adaptec.com> <20030118214723.GE70151@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* De: David O'Brien <obrien@freebsd.org> [ 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 <jmallett@FreeBSD.org>
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




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