kc3-lang/libffi/testsuite/libffi.call/va_struct2.c

Branch :


Log

Author Commit Date CI Message
0859f843 2024-10-24 18:26:58 Fix testsuite for C23 `va_start` (#861) In the C23 revision of the C standard, `va_start` ignores its second argument, which is no longer required (previously the last named function parameter - which the compiler knows anyway, so it's redundant information). This has the consequence for the libffi testsuite, when making GCC default to `-std=gnu23`, of making two tests fail with warnings about an unused function argument (only passed to `va_start` and not otherwise used). Fix those test failures by explicitly casting the argument to `void`.
eb244724 2021-07-16 14:33:04 Use CHECK to assert more things in test suite (#654) * Use CHECK to assert more things in test suite * Use snprintf instead of sprintf * Fix va_struct1 and va_struct3
58e8b66f 2012-10-30 07:07:19 AArch64 port
fa5d7479 2012-10-30 07:07:19 AArch64 port