libstdc++: Fix testsuite with -Wformat
commitff981616a6093b7075581c45ad6240d86ebe6f3e
authorGwenole Beauchesne <gb.devel@gmail.com>
Wed, 6 Dec 2023 14:34:44 +0000 (6 15:34 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Sat, 6 Jan 2024 15:11:33 +0000 (6 15:11 +0000)
tree3209366a7fbaabf39da5e86b0e286a544cb25a3f
parent723bd722d616bbb427264930986f080d89207caa
libstdc++: Fix testsuite with -Wformat

Fix testsuite when compiling with -Wformat. Use nonnull arguments so
that -Wformat does not cause extraneous output to be reported as an
error.

FAIL: tr1/8_c_compatibility/cinttypes/functions.cc (test for excess errors)

libstdc++-v3/ChangeLog:

* testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Use
nonnull arguments to strtoimax() and wcstoimax() functions.

Signed-off-by: Gwenole Beauchesne <gb.devel@gmail.com>
libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/functions.cc