diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-25 11:23:35 -0300 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-12-22 17:35:33 +0800 |
commit | 27a4b6421f488753aab982dfa2b873498fe58fa2 (patch) | |
tree | de09f49be85eb6a028e0565656535315fafafa5d /math/test-flt-eval-method.c | |
parent | 77c1128bd35009285820a5e92aa585bb74e2a5ae (diff) | |
download | glibc-27a4b6421f488753aab982dfa2b873498fe58fa2.zip glibc-27a4b6421f488753aab982dfa2b873498fe58fa2.tar.gz glibc-27a4b6421f488753aab982dfa2b873498fe58fa2.tar.bz2 |
Suppress Clang warning on adding an integer to a string
Suppress Clang warning on adding an integer to a string, like:
tst-iconv-sticky-input-error.c:125:42: error: adding 'int' to a string does not append to the string [-Werror,-Wstring-plus-int]
125 | expected_output = "ABXY" + skip;
| ~~~~~~~^~~~~~
tst-iconv-sticky-input-error.c:125:42: note: use array indexing to silence this warning
125 | expected_output = "ABXY" + skip;
| ^
| & [ ]
Co-Authored-By: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'math/test-flt-eval-method.c')
0 files changed, 0 insertions, 0 deletions