Re: [PATCH] RTEMS: Prefer int for int32_t

2018-06-12 Thread Sebastian Huber
On 13/06/18 08:22, Joel Sherrill wrote: On Wed, Jun 13, 2018, 8:20 AM Sebastian Huber > wrote: I will check in this patch tomorrow (GCC 7, 8, and 9). Ok. Just a reminder that the next time newlib bumps versions, it will have a changeĀ  to correc

Re: [PATCH] RTEMS: Prefer int for int32_t

2018-06-12 Thread Joel Sherrill
On Wed, Jun 13, 2018, 8:20 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > I will check in this patch tomorrow (GCC 7, 8, and 9). > Ok. Just a reminder that the next time newlib bumps versions, it will have a change to correct two pthread prototypes. RTEMS will.need a patch I

Re: [PATCH] RTEMS: Prefer int for int32_t

2018-06-12 Thread Sebastian Huber
I will check in this patch tomorrow (GCC 7, 8, and 9). -- 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.hu...@embedded-brains.de PGP : Public key available on request.

[PATCH] RTEMS: Prefer int for int32_t

2018-04-12 Thread Sebastian Huber
Common systems like glibc and FreeBSD define int32_t to int. This means a lot of third party code works well in these cases: #include void f(int32_t); void f(int); void g(int32_t *); void h(void) { int i; g(&i); } On RTEMS you got however in C test.c:5:6: error: con