Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdio Compile the following files with -Wno-uniniti...



details:   https://anonhg.NetBSD.org/src/rev/abc7584ed26f
branches:  trunk
changeset: 581388:abc7584ed26f
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Jun 01 11:06:01 2005 +0000

description:
Compile the following files with -Wno-uninitialized:
vfprintf.c      See rev 1.46 for why we can't fix this.
vfwprintf.c     Needs some effort
vfwscanf.c      Needs some effort

diffstat:

 lib/libc/stdio/Makefile.inc |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r e8642d155318 -r abc7584ed26f lib/libc/stdio/Makefile.inc
--- a/lib/libc/stdio/Makefile.inc       Wed Jun 01 10:55:07 2005 +0000
+++ b/lib/libc/stdio/Makefile.inc       Wed Jun 01 11:06:01 2005 +0000
@@ -1,11 +1,16 @@
 #      from: @(#)Makefile.inc  5.7 (Berkeley) 6/27/91
-#      $NetBSD: Makefile.inc,v 1.29 2005/05/14 23:51:02 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.30 2005/06/01 11:06:01 lukem Exp $
 
 # stdio sources
 .PATH: ${.CURDIR}/stdio
 
 CPPFLAGS+=-DFLOATING_POINT
 
+COPTS.vfprintf.c+=     -Wno-uninitialized      # see rev 1.46 for why
+
+COPTS.vfwprintf.c+=    -Wno-uninitialized      # XXX: various to be fixed
+COPTS.vfwscanf.c+=     -Wno-uninitialized      # XXX: various to be fixed
+
 SRCS+= asprintf.c clrerr.c fclose.c fdopen.c feof.c ferror.c fflush.c \
        fgetc.c fgetln.c fgetpos.c fgets.c fgetstr.c fgetwc.c fgetwln.c \
        fgetws.c fileno.c findfp.c flags.c flockfile.c fopen.c fparseln.c \



Home | Main Index | Thread Index | Old Index