-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
64 bit print format specifiers not defined #55
Comments
Can you provide a test or how to reproduce. As the PRI macros if building with min-libc come from zephyr itself and not the toolchain (in lib/libc/minimal/include/inttypes.h). |
uint64_t i64 = 0; error: expected ')' before 'PRIu64' Essentially PRIu64 is not #defined in arm-zephyr-eabi/arm-zephyr-eabi/include/inttypes.h as |
what does your config file look like? |
General configCONFIG_NEWLIB_LIBC=y Networking configCONFIG_NETWORKING=y Network address configCONFIG_NET_CONFIG_SETTINGS=y Net managementCONFIG_LOG=y Network debug configCONFIG_NET_LOG=y |
Is the same config that was working for the 0.9.5 SDK |
Yes. Just updated SDK this morning. |
Easy to fix in my code with: #ifndef PRId64 Everything else compiles and runs fine. But think should really be defined. |
Agreed, its a bug and will look into fixing it. |
Looks like the issue isn't the SDK but how Zephyr invokes things. Going to move this over to Zephyr. Opened issue: |
Have upgraded SDK from 0.9.5 to 0.10.0. Looks like PRId64 and friends are no longer defined
(PRId32 etc are) ? Am building zephyr off head for the ARM frdm_k64f.
The text was updated successfully, but these errors were encountered: