delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-workers-bounces using -f |
From: | <ams AT ludd DOT ltu DOT se> |
Message-Id: | <200412291514.iBTFEHWL000325@speedy.ludd.ltu.se> |
Subject: | Re: tests/libc/ansi/time/makefile problems |
In-Reply-To: | <200410311110.i9VBALbc028787@speedy.ludd.ltu.se> |
"from ams AT ludd DOT ltu DOT se at Oct 31, 2004 12:10:21 pm" | |
To: | djgpp-workers AT delorie DOT com |
Date: | Wed, 29 Dec 2004 16:14:17 +0100 (CET) |
X-Mailer: | ELM [version 2.4ME+ PL78 (25)] |
MIME-Version: | 1.0 |
X-ltu-MailScanner-Information: | Please contact the ISP for more information |
X-ltu-MailScanner: | Found to be clean |
X-MailScanner-From: | ams AT ludd DOT ltu DOT se |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
According to ams AT ludd DOT ltu DOT se: > According to Brian Inglis: > > >> >Can anyone run make successfully in tests/libc/ansi/time/? > > >Without that line make says: > > >gcc @../../../gcc.opt -I. -I- -I../../../../include -c xstrftm.c > > >cc1.exe: warnings being treated as errors > > >xstrftm.c: In function `main': > > >xstrftm.c:17: warning: `%x' yields only last 2 digits of year in some locales > > >I'm using gcc 2.953. > > > > Not seeing that with 3.4.1. > > Check gcc*.opt to see if -Wformat and -pedantic or -Wformat-y2k is > > set, and change to or add -Wno-format-y2k. > > No -Wformat, -pedantic or -Wformat-y2k present. Adding -Wno-format-y2k > makes no difference (still warns about %x). What should I do? I can commit this change anyway but the tests won't make as is today with gcc 2.953. (It _is_ possible to compile xstrftm.c by hand by skipping the gcc.opt file. Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |