Date: Tue, 12 Oct 1999 09:36:36 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Felix Natter cc: Andris Pavenis , djgpp AT delorie DOT com Subject: Re: xmalloc and xfree In-Reply-To: <199910111717.TAA11904@public.ndh.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 11 Oct 1999, Felix Natter wrote: > thanks for your help, > but the problem is that the prototypes > for 'xmalloc' and 'xfree' are (were) commented out > in include/stdlib.h. Beware: unconditional uncommenting might get you in trouble with C programs of Unix origin that declare incompatible prototypes for xmalloc. I suggest to make the prototypes visible for C++ programs only, with #ifdef __cplusplus. > shouldn't this be fixed with regard to djdev2.03, > or is it already ? We will see. There are some considerations against it.