* De: David O'Brien <[EMAIL PROTECTED]> [ 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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message