[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fixing malloc.h related warning

From: Dalibor Topic
Subject: Fixing malloc.h related warning
Date: Mon, 15 Sep 2003 18:36:04 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312


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/malloc.h:2: warning: #warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"

Could the offending include be removed from source of ltdl.c?

dalibor topic

reply via email to

[Prev in Thread] Current Thread [Next in Thread]