This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug AWT/15926] New: don't include malloc.h in jni/classpath/ source files
- From: "dkl at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2004 23:14:57 -0000
- Subject: [Bug AWT/15926] New: don't include malloc.h in jni/classpath/ source files
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
>From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922
Description of problem:
<andreast> fitzsim: side note, there a re a few malloc.h includes in
classpath/*
<fitzsim> andreast: is that a no no?
<tromey> isn't <malloc.h> some old SunOS/Solaris thing?
<andreast> fitzsim: a no for compiling libgcj
<tromey> these days you just use stdlib.h, I thought
<andreast> tromey: so I was told by our bugmaster
<robilad> malloc.h is an old k&r thing
<robilad> avoid
<andreast> yeah but still in the classpath/jnilink.c jcl.c included :)
<andreast> i mean in jni/classpath/jnilink.c jcl.c
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. jni/classpath/*
Additional info:
------- Additional Comments From fitzsim@redhat.com 2004-05-18 16:16:44 ----
Fixed on java-gui-branch.
------- Bug moved to this database by dkl@redhat.com 2004-06-10 23:14 -------
This bug previously known as bug 115893 at https://bugzilla.redhat.com/bugzilla/
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=115893
Originally filed under the Open Java Platform product and AWT component.
---
Unknown bug field "rep_platform" encountered while moving bug
<rep_platform> All </rep_platform>
---
Unknown bug field "op_sys" encountered while moving bug
<op_sys> Linux </op_sys>
Unknown version 3.4 in product gcc. Setting version to "2.95".
Unknown priority normal. Setting to default priority "P3".
--
Summary: don't include malloc.h in jni/classpath/ source files
Product: gcc
Version: 2.95
Status: CLOSED
Severity: normal
Priority: P3
Component: AWT
AssignedTo: fitzsim at redhat dot com
ReportedBy: fitzsim at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15926