diff options
author | Felix Willgerodt <felix.willgerodt@intel.com> | 2022-06-03 14:26:41 +0200 |
---|---|---|
committer | Felix Willgerodt <felix.willgerodt@intel.com> | 2022-08-19 11:24:00 +0200 |
commit | 4afe8a8170a888310b41ef46a8b8e8f2b15597c6 (patch) | |
tree | 34236654c78ad7166092b3b367afe9761f065602 /gdb/testsuite/gdb.compile/compile-tls.c | |
parent | 6232b8434815919cea8b0f7dca4652567ccb6c84 (diff) | |
download | fsf-binutils-gdb-4afe8a8170a888310b41ef46a8b8e8f2b15597c6.zip fsf-binutils-gdb-4afe8a8170a888310b41ef46a8b8e8f2b15597c6.tar.gz fsf-binutils-gdb-4afe8a8170a888310b41ef46a8b8e8f2b15597c6.tar.bz2 |
gdb, testsuite: Adapt gdb.base/callfuncs.exp for new clang warning.
Clang 15.0.0 enabled the warning for deprecated non-prototype functions
by default: https://reviews.llvm.org/D122895
Callfuncs.exp is impacted and won't run due to new warnings:
callfuncs.c:339:5: warning: a function declaration without a prototype is
deprecated in all versions of C and is not supported in C2x
[-Wdeprecated-non-prototype]
int t_float_values (float_arg1, float_arg2)
This patch disables those warnings with -Wno-deprecated-non-prototype.
Removing the test for deprecated syntax would also be an option. But I will
leave that up for others to decide/implement.
Diffstat (limited to 'gdb/testsuite/gdb.compile/compile-tls.c')
0 files changed, 0 insertions, 0 deletions