u-blox / ubxlib

Portable C libraries which provide APIs to build applications with u-blox products and services. Delivered as add-on to existing microcontroller and RTOS SDKs.
Apache License 2.0
287 stars 82 forks source link

Truncation Warnings from snprintf #190

Closed AarC10 closed 5 months ago

AarC10 commented 5 months ago

Currently a few files have truncation warnings with snprintf. I understand this problem would be resolved with using GCC 12.3 looking at the code, but this may not be possible for certain platforms. For example, Zephyr's SDK currently supports GCC 12.2 and using the cross-compiler option for arm-non-eabi-gcc 13.2 may not be a viable option if specific headers also need to be included

RobMeades commented 5 months ago

Thanks for the PR!