HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
clang-10 tautological-compare warnings
Some warnings seen when compiling with clang-10. I were compiling S3_0, but likely all branches are affected.
Will attach logs later.
#2 Updated by Marko Lindqvist about 1 year ago
These tautological-compare errors come from generated sources (packets_gen.c, specenum_gen.h)
Either we need to fix the code generation (if it can be made safely) or to disable tautological-compare warnings.
#3 Updated by Marko Lindqvist about 1 year ago
- Subject changed from clang-10 warnings to clang-10 tautological-compare warnings
Well, we already disable tautological-compare warnings, but apparently clang-10 does not care about it. Consider this a compiler bug? I don't have any good ideas for a workaround.
#5 Updated by Marko Lindqvist 12 months ago
- Sprint/Milestone set to 2.6.3
Ubuntu-20.04 LTS has clang-10, and warnings (or errors with --enable-debug) are coming up from all branches. However, there the warning seems to be more fine-grained type than already disabled tautological-compare, so we may can fix it by disabling that specific warning.
#7 Updated by Marko Lindqvist 12 months ago
- File 0006-debug.m4-Set-always-active-compiler-flags-last-not-f.patch 0006-debug.m4-Set-always-active-compiler-flags-last-not-f.patch added
- Status changed from New to Resolved