From 1b16ff0b1e6906d4f5a4380c4ca5750e87c5e52d Mon Sep 17 00:00:00 2001 From: Gabriel F T Gomes Date: Fri, 28 Oct 2016 15:57:15 -0200 Subject: Fix warning caused by unused-result in bug-atexit3-lib.cc The test case dlfcn/bug-atexit3-lib.cc calls write and doesn't check the result. When building with GCC 6.2, this generates a warning in 'make check', which is treated as an error. This patch replaces the call to write with a call to write_message. Tested for powerpc64le. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index eed5cc5f37..d49f22153a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2016-10-28 Gabriel F. T. Gomes + + * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied + from test-skeleton.c. + (statclass): Replace calls to write with calls to write_message. + 2016-10-28 Joseph Myers * math/math.h -- cgit 1.4.1