That's

clang version 18.1.4
Target: aarch64-unknown-linux-android24

No flags set at all (other than --enable-lto). Checking for warning flags noted 
in config.log:

CFLAGS_MPI='-g -O -fno-omit-frame-pointer -Wall -fpic'
FLAG_W_CAST_ALIGN='-Wcast-align'
FLAG_W_CAST_QUAL='-Wcast-qual'
FLAG_W_EMPTY_BODY='-Wempty-body'
FLAG_W_ENUM_CONVERSION='-Wenum-conversion'
FLAG_W_EXTRA='-Wextra'
FLAG_W_FORMAT='-Wformat'
FLAG_W_FORMAT_SECURITY='-Wformat-security'
FLAG_W_IGNORED_QUALIFIERS='-Wignored-qualifiers'
FLAG_W_NO_ATTRIBUTES='-Wno-attributes'
FLAG_W_NO_BUILTIN_MEMCPY_CHK_SIZE='-Wno-builtin-memcpy-chk-size'
FLAG_W_NO_EXPANSION_TO_DEFINED='-Wno-expansion-to-defined'
FLAG_W_NO_FORMAT_OVERFLOW='-Wno-format-overflow'
FLAG_W_NO_FORTIFY_SOURCE='-Wno-fortify-source'
FLAG_W_NO_FREE_NONHEAP_OBJECT='-Wno-free-nonheap-object'
FLAG_W_NO_INCOMPATIBLE_POINTER_TYPES_DISCARDS_QUALIFIERS='-Wno-incompatible-pointer-types-discards-qualifiers'
FLAG_W_NO_INFINITE_RECURSION='-Wno-infinite-recursion'
FLAG_W_NO_MEMSET_TRANSPOSED_ARGS='-Wno-memset-transposed-args'
FLAG_W_NO_MISMATCHED_NEW_DELETE='-Wno-mismatched-new-delete'
FLAG_W_NO_NONNULL='-Wno-nonnull'
FLAG_W_NO_NON_POWER_OF_TWO_ALIGNMENT='-Wno-non-power-of-two-alignment'
FLAG_W_NO_OVERFLOW='-Wno-overflow'
FLAG_W_NO_POINTER_SIGN='-Wno-pointer-sign'
FLAG_W_NO_SIGN_COMPARE='-Wno-sign-compare'
FLAG_W_NO_STATIC_LOCAL_IN_INLINE='-Wno-static-local-in-inline'
FLAG_W_NO_SUSPICIOUS_BZERO='-Wno-suspicious-bzero'
FLAG_W_NO_UNINITIALIZED='-Wno-uninitialized'
FLAG_W_NO_UNUSED_BUT_SET_VARIABLE='-Wno-unused-but-set-variable'
FLAG_W_NO_UNUSED_FUNCTION='-Wno-unused-function'
FLAG_W_NO_UNUSED_VARIABLE='-Wno-unused-variable'
FLAG_W_WRITE_STRINGS='-Wwrite-strings'

Simon

Am 27. April 2024 14:05:59 MESZ schrieb Paul Floyd via Valgrind-users 
<valgrind-users@lists.sourceforge.net>:
>
>
>On 25-04-24 19:09, Simon Sobisch wrote:
>> 
>> 
>> Am 25.04.2024 um 20:55 schrieb Paul Floyd via Valgrind-users:
>>> 
>>> On 25-04-24 14:39, Simon Sobisch wrote:
>>> 
>>>> 3. compile warnings with clang on arm64 (in multiple files/positions with 
>>>> different arguments to the macros CALL_FN_W_W, CALL_FN_W_WW, CALL_FN_W_WWW 
>>>> and CALL_FN_W_WWWW):
>>> 
>>> For the arm64 warnings, what OS were you usung?
>> 
>> That was Android running within Termux.
>
>Which version of clang is that using? And does it use any extra compiler flags?
>
>FreeBSD 14 with clang 16 (and 18) only produces a couple of warnings:
>
>
>integer.c:30:21: warning: unused function 'randUChar' [-Wunused-function]
>
>and
>
>arm64_features.c:28:1: warning: non-void function does not return a value in 
>all control paths [-Wreturn-type]
>
>(well, they did, I just fixed them).
>
>I also tried adding -Winline-asm, still no warnings.
>
>A+
>Paul
>
>
>_______________________________________________
>Valgrind-users mailing list
>Valgrind-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/valgrind-users
>
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to