[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cc94509b-a87b-410e-a601-6381c2a2e6e1@t-8ch.de>
Date: Sun, 2 Nov 2025 12:04:01 +0100
From: Thomas Weißschuh <linux@...ssschuh.net>
To: Willy Tarreau <w@....eu>
Cc: shuah@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/4] tools/nolibc: add the more portable inttypes.h
On 2025-11-02 11:46:09+0100, Willy Tarreau wrote:
> It's often recommended to only use inttypes.h instead of stdint.h for
> portability reasons since the former is always present when the latter
> is present, but not conversely, and the former includes the latter. Due
> to this some simple programs fail to build when including inttypes.h.
> Let's add one that simply includes stdint.h to better support these
> programs.
> 
> Signed-off-by: Willy Tarreau <w@....eu>
> ---
>  tools/include/nolibc/Makefile   | 1 +
>  tools/include/nolibc/inttypes.h | 8 ++++++++
>  2 files changed, 9 insertions(+)
>  create mode 100644 tools/include/nolibc/inttypes.h
I think this should also interact with the big nolibc.h.
Both being included from it and including it itself, to follow the
generally used pattern.
Thomas
Powered by blists - more mailing lists