diff options
author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-04-11 12:00:39 +0300 |
---|---|---|
committer | Thomas Weißschuh <linux@weissschuh.net> | 2025-04-22 11:56:24 +0300 |
commit | e5407c0820ea5fa7117b85ed32b724af73156d63 (patch) | |
tree | a5eca5118fe9aa2666030795fb74ab1f968d59a2 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4c99fbc6a06f56e266f60f5f24d0cfd8311b2c09 (diff) | |
download | linux-e5407c0820ea5fa7117b85ed32b724af73156d63.tar.xz |
tools/nolibc: use intmax definitions from compiler
The printf format checking in the compiler uses the intmax types from
the compiler, not libc. This can lead to compiler errors.
Instead use the types already provided by the compiler.
Example issue with clang 19 for arm64:
nolibc-test.c:30:2: error: format specifies type 'uintmax_t' (aka 'unsigned long') but the argument has type 'uintmax_t' (aka 'unsigned long long') [-Werror,-Wformat]
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions