From owner-freebsd-bugs Wed Dec 12 11:58: 0 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id 4A00E37B41B for ; Wed, 12 Dec 2001 11:57:56 -0800 (PST) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 16EFXL-0001zw-00; Wed, 12 Dec 2001 21:59:27 +0200 From: Sheldon Hearn To: Brooks Davis Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/32760: Please MFC /usr/include/malloc.h to -STABLE. In-reply-to: Your message of "Wed, 12 Dec 2001 11:41:42 PST." <20011212114141.A23312@Odin.AC.HMC.Edu> Date: Wed, 12 Dec 2001 21:59:27 +0200 Message-ID: <7683.1008187167@axl.seasidesoftware.co.za> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 12 Dec 2001 11:41:42 PST, Brooks Davis wrote: > If there's a way to make malloc.h optionaly fatel that would be a good > first step since we could strongly encourage porters to enable that and > perhaps enable it on bento for good measure. That sounds pretty easy, provided the affected ports honour CFLAGS. :-) Wouldn't something like this work? #if WANT_STDLIB_MALLOC #if __STDC__ #error " has been replaced by " #else #if __GNUC__ #warning "this file includes which is deprecated, use instead" #endif #include #endif #endif Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message