This is the mail archive of the gcc@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, does gcc fixincludes etc guarantee a stdlib.h exists?


> 	I considered doing that, but I wasn't completely sure defining
> that macro unconditionally in libgcc2.c or frame.c was a good idea.  Are
> we guaranteed that defining __USE_FIXED_PROTOTYPES__ is safe for all
> platforms? (I don't know, I'm asking.) If it is safe, then why does the
> wrapper exist at all? ... 

IIRC there are some functions for which the generated prototype is wrong on
some platforms (I do not remember which functions), but if you only want to get
the prototype for malloc then it is safe to define __USE_FIXED_PROTOTYPES__.


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