1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-14 20:01:03 +03:00
Files
glibc/string
Joseph Myers ec72135e5f Fix string/bug-strncat1.c build with GCC 8.
GCC 8 warns about strncat calls with truncated output.
string/bug-strncat1.c tests such a call; this patch disables the
warning for it.

Tested (compilation) with GCC 8 for x86_64-linux-gnu with
build-many-glibcs.py (in conjunction with Martin's patch to allow
glibc to build).

	* string/bug-strncat1.c: Include <libc-diag.h>.
	(main): Disable -Wstringop-truncation for strncat call for GCC 8.
2017-11-14 17:50:36 +00:00
..
2017-06-20 08:21:24 -04:00
2017-06-20 08:21:24 -04:00
2017-08-08 17:14:49 +00:00
2017-08-08 17:14:49 +00:00
2017-05-10 00:25:59 +00:00
2017-06-20 08:21:24 -04:00
2017-06-20 08:21:24 -04:00
2017-05-25 11:38:01 -07:00
2017-06-08 09:56:01 -07:00
2017-07-06 17:01:03 +00:00