History log of /u-boot/test/stdint/test-includes.sh
Revision Date Author Comments
# 9865543a 06-Aug-2018 Masahiro Yamada <yamada.masahiro@socionext.com>

Remove CONFIG_USE_STDINT

You do not need to use the typedefs provided by compiler.

Our compilers are either IPL32 or LP64. Hence, U-Boot can/should
always use int-ll64.h typedefs like Linux kernel, whatever the
typedefs the compiler internally uses.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


# b01495e6 15-Oct-2014 Simon Glass <sjg@chromium.org>

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: Simon Glass <sjg@chromium.org>