Problems with inttypes.h on arm
Stefan Tauner <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
Hi, there seems to have been a problem introduced recently-ish - but I am not sure whether GCC or newlib are to blame/able to fix this and hope someone here can shed some light on it. I have briefly looked at the relevant(?) files in newlib's git and could not find any recent changes whatsoever. Basically, PRIi64 and friends do not get defined properly (unless sys/_stdint.h is included explicitly before including inttypes.h). Jonathan Neuschäfer has reported this in detail for Debian's gcc-arm-none-eabi: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067692 However, I have noticed the same problem with the GCC 12.3.1-based IDE shipped by NXP for their Microcontrollers (that according to them "bundles an unmodified form of the GNU ARM Embedded Toolchain"). Does anybody have any ideas what the cause could be? Thanks! -- Kind regards/Mit freundlichen Grüßen, Stefan Tauner