[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c8023c22-d3a1-f7de-0d86-0f06c60bc165@rasmusvillemoes.dk>
Date: Wed, 7 Sep 2022 00:48:05 +0200
From: Rasmus Villemoes <linux@...musvillemoes.dk>
To: Bart Van Assche <bvanassche@....org>,
Kees Cook <keescook@...omium.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] testing/selftests: Add tests for the is_signed_type()
macro
On 07/09/2022 00.42, Bart Van Assche wrote:
> Since I would like to implement the above suggestion I tried to look up
> other uses of the __UNSIGNED_CHAR__ macro. However, I couldn't find any.
> Did I perhaps do something wrong?
> $ git grep -w __UNSIGNED_CHAR__ origin/master | wc
> 0 0 0
No, sorry, I did. It's __CHAR_UNSIGNED__ . Here's the description from
'info cpp':
'__CHAR_UNSIGNED__'
GCC defines this macro if and only if the data type 'char' is
unsigned on the target machine.
Rasmus
Powered by blists - more mailing lists