This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs, does gcc fixincludes etc guarantee a stdlib.h exists?
- To: ghazi at caip dot rutgers dot edu (Kaveh R. Ghazi)
- Subject: Re: egcs, does gcc fixincludes etc guarantee a stdlib.h exists?
- From: "Philippe De Muyter" <phdm at macqel dot be>
- Date: Tue, 14 Apr 1998 16:45:37 +0200 (MET DST)
- Cc: bothner at cygnus dot com, egcs at cygnus dot com, law at cygnus dot com
> 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__.