This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] [PATCH] Ensure `wint_t' is defined before use in include/stdio.h
- From: Andreas Schwab <schwab at suse dot de>
- To: Arjun Shankar <arjun dot is at lostca dot se>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 12 May 2015 16:18:12 +0200
- Subject: Re: [RFC] [PATCH] Ensure `wint_t' is defined before use in include/stdio.h
- Authentication-results: sourceware.org; auth=none
- References: <20150512135420 dot GA53143 at aloka dot lostca dot se>
Arjun Shankar <arjun.is@lostca.se> writes:
> So, `wint_t' is used before being defined. Question: Why did test-skeleton.c
> not cause this error in any of the other tests that include it?
They probably don't #undef _LIBC, or cause <stddef.h> to be included
before <stdio.h>.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."