cr16, lm32: error: Unable to determine type definition of intptr_t/int32_t

Nick Clifton nickc@redhat.com
Tue Mar 1 10:30:00 GMT 2016


Hi Yaakov,

> The changes to int32_t/intptr_t detection in <sys/_intsup.h> do not work 
> on cr16-elf or lm32-elf targets, neither of which define (in some 
> configurations) __INTPTR_TYPE__ or __INT32_TYPE__.

This sounds like a GCC bug - those macros really should be defined.

> How are these supposed to be handled?

By adding a #error line maybe ?

Cheers
  Nick



More information about the Newlib mailing list