Module Name: src Committed By: mrg Date: Sun Feb 4 01:13:45 UTC 2018
Modified Files: src/common/lib/libc/string: strcspn.c strncat.c strncpy.c strpbrk.c strspn.c strstr.c src/include: ucontext.h src/lib/libc/gmon: Makefile.inc src/lib/libc/stdio: fprintf.c fputc.c fputs.c fwrite.c putc.c puts.c scanf.c sscanf.c vprintf.c vscanf.c Log Message: fixes for GCC 6: - -Wstrict-prototypes is not available for C++, so don't try to ignore it for C++. - remove many _DIAGASSERT() checks against not NULL for functions with arguments with nonnull attributes. in two cases, leave code behind that should set defaults to "(null)". - use -Wno-error=frame-address for i386 mcount, as it seems valid to assume the caller will have a frame.fair To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/string/strcspn.c \ src/common/lib/libc/string/strpbrk.c src/common/lib/libc/string/strspn.c cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strncat.c \ src/common/lib/libc/string/strstr.c cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/string/strncpy.c cvs rdiff -u -r1.10 -r1.11 src/include/ucontext.h cvs rdiff -u -r1.11 -r1.12 src/lib/libc/gmon/Makefile.inc cvs rdiff -u -r1.13 -r1.14 src/lib/libc/stdio/fprintf.c \ src/lib/libc/stdio/fputc.c src/lib/libc/stdio/vprintf.c cvs rdiff -u -r1.15 -r1.16 src/lib/libc/stdio/fputs.c \ src/lib/libc/stdio/vscanf.c cvs rdiff -u -r1.17 -r1.18 src/lib/libc/stdio/fwrite.c cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdio/putc.c cvs rdiff -u -r1.16 -r1.17 src/lib/libc/stdio/puts.c cvs rdiff -u -r1.14 -r1.15 src/lib/libc/stdio/scanf.c cvs rdiff -u -r1.21 -r1.22 src/lib/libc/stdio/sscanf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.