This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MIG".
The branch, master has been updated
via 85c1d9860d563d8c43d95d41c51d0cbd68f93c9a (commit)
from 98e07c497c9d866c0342696918a020b3f0303405 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 85c1d9860d563d8c43d95d41c51d0cbd68f93c9a
Author: Flavio Cruz <[email protected]>
Date: Thu Jul 18 22:25:03 2024 +0100
Suffix complex_alignof with U to hint the compiler that it is always
unsigned
I have noticed a problem when compiling rumpkernel with the new
thread_get_name:
gnumachUser.c: In function 'thread_get_name':
gnumachUser.c:1791:37: error: comparison of integer expressions of
different signedness: 'unsigned int' and 'int' [-Werror=sign-compare]
1791 | if (mig_unlikely (msgh_size != 36 +
((OutP->nameType.msgt_number + 3) & ~3)))
| ^~
gnumachUser.c:25:47: note: in definition of macro 'mig_unlikely'
25 | #define mig_unlikely(X) __builtin_expect (!! (X), 0)
| ^
cc1: all warnings being treated as errors
This ensures that the compiler won't cast ~3 to int since the code will
be written as:
1791 | if (mig_unlikely (msgh_size != 36 +
((OutP->nameType.msgt_number + 3) & ~3U)))
Message-ID:
<hwbytulqiyx3ga3grvgpkgiekriqrogfv4lqasi74hqpeft7im@ipoz6pu44veo>
-----------------------------------------------------------------------
Summary of changes:
server.c | 4 ++--
user.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
MIG