This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: More c99status.html updates
- To: Zack Weinberg <zack at wolery dot cumb dot org>
- Subject: Re: More c99status.html updates
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Thu, 13 Jul 2000 07:42:46 +0100 (BST)
- cc: gcc-patches at gcc dot gnu dot org, neilb at earthling dot net
On Wed, 12 Jul 2000, Zack Weinberg wrote:
> I stand corrected - I thought your patches had already been applied,
> or something like that. [What's scanf %as?]
A glibc extension to allocate the string for %s - but in C99 %a is added
as another floating point scanf format. The kludge is that %a means this
extension if followed by s (maybe also some other characters), otherwise
is floating point.
> There's a whole area of issues coming from interactions with the C
> library, which the standard doesn't even contemplate and we
> historically don't handle well. Just look at <limits.h>, but be
> prepared to lose sanity points.
I do wonder just why <stdint.h> has SIG_ATOMIC_MIN and SIG_ATOMIC_MAX but
is required for freestanding implementations which should need no notion
of sig_atomic_t.
--
Joseph S. Myers
jsm28@cam.ac.uk