This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH 2/7] Use <stdint.h> in <machine/_default_types.h>
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Date: Fri, 25 Oct 2013 20:12:32 +0200
- Subject: Re: [PATCH 2/7] Use <stdint.h> in <machine/_default_types.h>
- Authentication-results: sourceware.org; auth=none
- References: <1381236345-11031-1-git-send-email-sebastian dot huber at embedded-brains dot de> <1381236345-11031-2-git-send-email-sebastian dot huber at embedded-brains dot de>
On 10/08/2013 02:45 PM, Sebastian Huber wrote:
This change ensures that the default integer types are identical to the
corresponding C99 types. On some targets the type of uint32_t and
__uint32_t were not identical which resulted in compiler warnings.
newlib/ChangeLog
2013-10-08 Sebastian Huber<sebastian.huber@embedded-brains.de>
* libc/include/machine/_default_types.h (__int8_t): Define via
<stdint.h> provided type.
(__uint8_t): Likewise.
(__int8_least_t): Likewise.
(__uint8_least_t): Likewise.
(__int16_t): Likewise.
(__uint16_t): Likewise.
(__int16_least_t): Likewise.
(__uint16_least_t): Likewise.
(__int32_t): Likewise.
(__uint32_t): Likewise.
(__int32_least_t): Likewise.
(__uint32_least_t): Likewise.
(__int64_t): Likewise.
(__uint64_t): Likewise.
Can someone please revert this patch since it leaks <stdint.h> defines
into <stdlib.h>.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.