luporl wrote: > Can you please explain what the issue on AIX actually was?
The issue on AIX was reported here: https://github.com/llvm/llvm-project/pull/178450#issuecomment-3862366740 ``` File /home/llvm/llvm-external-buildbots/workers/aix-ppc64/clang-ppc64-aix/llvm-project/clang/test/Sema/format-strings.c Line 994: format specifies type 'size_t' (aka 'unsigned long') but the argument has type '_Bool' File /home/llvm/llvm-external-buildbots/workers/aix-ppc64/clang-ppc64-aix/llvm-project/clang/test/Sema/format-strings.c Line 999: format specifies type 'ptrdiff_t' (aka 'long') but the argument has type '_Bool' ``` AFAIK, the problem is that on PPC64 AIX both integers and longs have 64 bits and size_t/ptrdiff_t are long. Because of this the warnings still occur after _Bool is promoted to int. It has the same size as long, but it's still a different type. https://github.com/llvm/llvm-project/pull/180566 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
