aboutsummaryrefslogtreecommitdiff
path: root/migration
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-07-05 09:40:26 +0100
committerAlex Bennée <alex.bennee@linaro.org>2024-07-05 12:34:38 +0100
commitf324a03ee23177e41509786bf09c9e7263989ff8 (patch)
tree972a3ee1e77daec6ed1b8fd3eaed0bb8a3ea5c3e /migration
parent2f93ff3113d60635328fdeaec5d1fece6ceade5a (diff)
linux-user/main: Suppress out-of-range comparison warning for clang
For arm32 host and arm64 guest we get .../main.c:851:32: error: result of comparison of constant 70368744177664 with expression of type 'unsigned long' is always false [-Werror,-Wtautological-constant-out-of-range-compare] if (TASK_UNMAPPED_BASE < reserved_va) { ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ We already disable -Wtype-limits here, for this exact comparison, but that is not enough for clang. Disable -Wtautological-compare as well, which is a superset. GCC ignores the unknown warning flag. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com> Message-Id: <20240630190050.160642-15-richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240705084047.857176-20-alex.bennee@linaro.org>
Diffstat (limited to 'migration')
0 files changed, 0 insertions, 0 deletions