diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-12-23 05:12:02 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-12-23 06:28:55 +0800 |
commit | 31c47126f4b5203eb5f72bb9dc8ceb09cacb4574 (patch) | |
tree | 30eea4636d6980d7ad7c13f8ff48926d582689e3 /stdio-common/printf_buffer_write.c | |
parent | cb74bafbb51ba291676ab7ed3b690a47ffebc567 (diff) | |
download | glibc-31c47126f4b5203eb5f72bb9dc8ceb09cacb4574.zip glibc-31c47126f4b5203eb5f72bb9dc8ceb09cacb4574.tar.gz glibc-31c47126f4b5203eb5f72bb9dc8ceb09cacb4574.tar.bz2 |
string: Suppress Clang warnings on tester.c
Add a configure check for -Wno-fortify-source to suppress Clang warnings
on string/tester.c, like:
tester.c:385:10: error: 'strncat' size argument is too large; destination buffer has size 50, but size argument is 99 [-Werror,-Wfortify-source]
385 | check (strncat (one, "lmn", 99) == one, 1); /* Returned value. */
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'stdio-common/printf_buffer_write.c')
0 files changed, 0 insertions, 0 deletions