Skip to content
Snippets Groups Projects
Commit b01495e6 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

test: Add a simple test to detected warnings with uint64_t, uintptr_t


These types are problematic because they are typically declared in a
non-standard way in U-Boot. For example, U-Boot uses 'long long' for
int64_t even on a 64-bit machine whereas stdint.h uses 'long'.
Similarly, U-Boot always uses 'long' for intptr_t whereas stdint.h mostly
uses 'int'.

This simple test script runs a few toolchains on a few archs to check for
warnings.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 4fd074de
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment