This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13575] SSIZE_MAX defined as LONG_MAX is inconsistent with ssize_t, when __WORDSIZE != 64
- From: "eblake at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 13 Jul 2016 21:36:56 +0000
- Subject: [Bug libc/13575] SSIZE_MAX defined as LONG_MAX is inconsistent with ssize_t, when __WORDSIZE != 64
- Auto-submitted: auto-generated
- References: <bug-13575-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=13575
--- Comment #11 from Eric Blake <eblake at redhat dot com> ---
Oh, I see that __SSIZE_T_TYPE is not a gcc builtin, but provided by glibc's
bits/typesizes.h as __SWORD_TYPE; which explains the difference in spelling
from the builtin __SIZE_TYPE__. But reading bits/types.h, the definition of
__SWORD_TYPE is gated solely on __WORDSIZE == 64, so how is s390 getting weird
definitions?
--
You are receiving this mail because:
You are on the CC list for the bug.