Patch to add __builtin_printf -> fputs transformations

Joseph S. Myers jsm28@cam.ac.uk
Wed Sep 20 02:00:00 GMT 2000


On Tue, 19 Sep 2000, Bruce Korb wrote:

> Well, then never mind.  If glibc has forced stdio.h to not be wrapable,
> then you cannot do that for glibc's stdio.h.  In fact, it is probably
> necessary to verify  that  fixincludes cannot wrap the thing.  Yuck.

There are several glibc headers like this.

<errno.h> follows __need_Emath.
<getopt.h> follows __need_getopt.
<signal.h> follows __need_sig_atomic_t and __need_sigset_t.
<stdio.h> follows __need_FILE and __need___FILE.
<stdlib.h> follows __need_malloc_and_calloc.
<time.h> follows __need_time_t, __need_clock_t, __need_timespec,
__need_clockid_t and __need_timer_t.
<wchar.h> follows __need_mbstate_t.
<wctype.h> follows __need_iswxxx.

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-patches mailing list