This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH updated] Use a proper C tokenizer to implement the obsolete typedefs test.
- From: Florian Weimer <fweimer at redhat dot com>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: libc-alpha at sourceware dot org, Carlos O'Donell <carlos at redhat dot com>, DJ Delorie <dj at redhat dot com>, Arjun Shankar <arjun at redhat dot com>
- Date: Wed, 20 Feb 2019 17:44:11 +0100
- Subject: Re: [PATCH updated] Use a proper C tokenizer to implement the obsolete typedefs test.
- References: <20190218143920.20885-1-zackw@panix.com>
* Zack Weinberg:
> * sys/types.h (__u_intN_t): Remove.
> (u_int8_t): Typedef using __uint8_t.
> (u_int16_t): Typedef using __uint16_t.
> (u_int32_t): Typedef using __uint32_t.
> (u_int64_t): Typedef using __uint64_t.
Why doesn't this change C++ name mangling?
The ABI doesn't have names for the mode attribute, and at least
uint32_t, there are two conceivable representations on 32-bit (unsigned
int and unsigned long int). See the architecture variance in the
manging of size_t.
Thanks,
Florian