NetBSD-Bugs archive

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

Re: bin/41945: calendar(1) doesn't recognize days of the week correctly sometimes



The following reply was made to PR bin/41945; it has been noted by GNATS.

From: Thomas Klausner <wiz%netbsd.org@localhost>
To: Robert Elz <kre%munnari.OZ.AU@localhost>
Cc: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Subject: Re: bin/41945: calendar(1) doesn't recognize days of the week
 correctly sometimes
Date: Tue, 17 Nov 2009 16:41:00 +0100

 On Wed, Oct 21, 2009 at 05:05:49PM +0700, Robert Elz wrote:
 > OK, here's a replacement patch - this is just for (most of the) parsing
 > bugs that you mentioned, and those from Jeremy Reed's message
 >      http://mail-index.netbsd.org/tech-userlevel/2008/05/05/msg000543.html
 > which was reporting essentially the same set of bugs.
 
 I've just (sorry for the late reply...) tried it and got a compilation
 error:
 # USETOOLS=no make
 rm -f .gdbinit
 touch .gdbinit
 #   compile  calendar/calendar.o
 cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch 
-Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter 
-Wsign-compare -std=gnu99  -Werror      -c    calendar.c
 cc1: warnings being treated as errors
 calendar.c: In function 'getfield':
 calendar.c:330: warning: 'savech' may be used uninitialized in this function
 calendar.c:328: warning: 'val' may be used uninitialized in this function
 *** Error code 1
 
  Thomas
 


Home | Main Index | Thread Index | Old Index