Re: Fixing malloc.h related warning

2003-09-16 Thread Dalibor Topic
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

RE: Fixing malloc.h related warning

2003-09-16 Thread Boehne, Robert
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

Re: Fixing malloc.h related warning

2003-09-16 Thread Dalibor Topic
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.

RE: Fixing malloc.h related warning

2003-09-15 Thread Boehne, Robert
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

RE: Fixing malloc.h related warning

2003-09-15 Thread Bob Friesenhahn
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&

RE: Fixing malloc.h related warning

2003-09-15 Thread Bob Friesenhahn
#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

RE: Fixing malloc.h related warning

2003-09-15 Thread Boehne, Robert
, 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

Re: Fixing malloc.h related warning

2003-09-15 Thread Dalibor Topic
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

RE: Fixing malloc.h related warning

2003-09-15 Thread Boehne, Robert
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

Fixing malloc.h related warning

2003-09-15 Thread Dalibor Topic
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