Problem of using malloc() without including stdlib.h

Alan Bateman Alan.Bateman at oracle.com
Wed Jan 18 10:26:43 UTC 2012


On 18/01/2012 08:53, Jonathan Lu wrote:
> :
> Actually some core files are also involved in this problem, such as
> ./src/windows/native/java/io/io_util_md.c
> ./src/share/back/debugInit.c
>
> And this problem seems very generic, so I guess core-libs-dev list 
> might be the place to raise it.
>
> -Jonathan
>
64-bit would be a concern although I would expect compiler warnings in 
that case. Are you seeing compiler warnings? There may be cases where 
stdlib is being included by some other header files. Also do you have a 
complete list of the files (your original mail listed 2D files which is 
why I suggested bringing it up on 2d-dev).

-Alan







More information about the core-libs-dev mailing list