This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs/libiberty includes missing fix


> I will install your (incomplete) patch in the gcc-2.95 tree only.  You need
> to make the changes I requested before I will accept this patch for the
> main sources.

Thanks. However, my patch is a complete patch for the problem that `size_t'
and `NULL' are not defined if the appropriate header files are not #include'd,
so I think it should go also in the main tree.

> 
> Specifically you need to write the includes in suitable autoconf conditionals

I do not think that we must test for existence of stdio.h or sys/types.h,
and there is no use of HAVE_STDIO_H or HAVE_SYS_TYPES_H in the whole egcs tree.

> and use NEED_DECLARATION_MALLOC to protect any declarations of malloc.

Kaveh R Ghazi wrote on the list that he would do this job, but there were
questions about the master version of libiberty.

Philippe


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]