www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/12/08:08:26

Date: Tue, 12 Oct 1999 09:36:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Felix Natter <fnatter AT gmx DOT net>
cc: Andris Pavenis <pavenis AT lanet DOT lv>, djgpp AT delorie DOT com
Subject: Re: xmalloc and xfree
In-Reply-To: <199910111717.TAA11904@public.ndh.com>
Message-ID: <Pine.SUN.3.91.991012093346.7576D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019