Boehne, Robert wrote:
I'm not sure this is a good idea because other functions might be
pulled from malloc.h, or malloc() might be find in yet another header.
It's nearly impossible to know, you would need to be familiar
with every system function used by libltdl and where it resides
on every syste
to:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 5:19 AM
To: Bob Friesenhahn
Cc: Boehne, Robert; [EMAIL PROTECTED]
Subject: Re: Fixing malloc.h related warning
Bob Friesenhahn wrote:
> On Mon, 15 Sep 2003, Boehne, Robert wrote:
>
>
>>Dalibor,
>>
>>This would
Bob Friesenhahn wrote:
On Mon, 15 Sep 2003, Boehne, Robert wrote:
Dalibor,
This would require a patch that looks for whatever malloc.h is #included for
in stdlib.h and prefers it in stdlib.h. So it isn't as simple as s/malloc/stdlib/.
The question is how necessary is it to support non-ANSI C.
Bob,
I agree, and would approve such a patch if one were posted.
Robert
-Original Message-
From: Bob Friesenhahn [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 1:38 PM
To: Boehne, Robert
Cc: Dalibor Topic; [EMAIL PROTECTED]
Subject: RE: Fixing malloc.h related warning
On
ECTED]
> Sent: Monday, September 15, 2003 1:10 PM
> To: Boehne, Robert
> Cc: [EMAIL PROTECTED]
> Subject: Re: Fixing malloc.h related warning
>
>
> Hi Robert,
>
> what about
>
> /*
> * Include the header defining malloc.
> *
> * On K&
#else
#if defined(HAVE_MALLOC_H)
#include
#endif
#endif
Bob
> -Original Message-
> From: Dalibor Topic [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 15, 2003 11:36 AM
> To: Libtool mailing list
> Subject: Fixing malloc.h related warning
>
>
> Hi,
>
> bulding co
, September 15, 2003 1:10 PM
To: Boehne, Robert
Cc: [EMAIL PROTECTED]
Subject: Re: Fixing malloc.h related warning
Hi Robert,
what about
/*
* Include the header defining malloc.
*
* On K&R C compilers, that's ,
* on ANSI C and ISO C compilers, that's
* .
*
*/
#if
To: Libtool mailing list
Subject: Fixing malloc.h related warning
Hi,
bulding code that uses libtool 1.5 on i386-FreeBSD 4.8, I noticed a
compiler warning:
gcc -DHAVE_CONFIG_H -I. -I../../kaffe-1.1.1/libltdl -I. -g -O2 -c
../../kaffe-1.1.1/libltdl/ltdl.c -fPIC -DPIC -o .libs/ltdl.o
In
AM
To: Libtool mailing list
Subject: Fixing malloc.h related warning
Hi,
bulding code that uses libtool 1.5 on i386-FreeBSD 4.8, I noticed a
compiler warning:
gcc -DHAVE_CONFIG_H -I. -I../../kaffe-1.1.1/libltdl -I. -g -O2 -c
../../kaffe-1.1.1/libltdl/ltdl.c -fPIC -DPIC -o .libs/ltdl.o
In
Hi,
bulding code that uses libtool 1.5 on i386-FreeBSD 4.8, I noticed a
compiler warning:
gcc -DHAVE_CONFIG_H -I. -I../../kaffe-1.1.1/libltdl -I. -g -O2 -c
../../kaffe-1.1.1/libltdl/ltdl.c -fPIC -DPIC -o .libs/ltdl.o
In file included from ../../kaffe-1.1.1/libltdl/ltdl.c:57:
/usr/include/mall
10 matches
Mail list logo