delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-workers-bounces using -f |
Date: | Sun, 31 Oct 2004 03:51:46 -0700 |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Subject: | Re: tests/libc/ansi/time/makefile problems |
In-reply-to: | <200410310952.i9V9qSpY001125@speedy.ludd.ltu.se> |
To: | djgpp-workers AT delorie DOT com |
Message-id: | <t0f9o016tsphv0dfsiqmkjis9of2d6bvuk@4ax.com> |
Organization: | Systematic Software |
MIME-version: | 1.0 |
X-Mailer: | Forte Agent 1.93/32.576 English (American) |
References: | <upa9o0p48jg8p8ib66cthh0i9e39pkonkv AT 4ax DOT com> |
<200410310952 DOT i9V9qSpY001125 AT speedy DOT ludd DOT ltu DOT se> | |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id i9VAqBQ9021714 |
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 |
On Sun, 31 Oct 2004 10:52:28 +0100 (CET), ams AT ludd DOT ltu DOT se wrote: >According to Brian Inglis: >> ROn Sun, 24 Oct 2004 23:05:23 +0200 (CEST), ams AT ludd DOT ltu DOT se wrote: >> >> >Can anyone run make successfully in tests/libc/ansi/time/? >> >> Yes -- okay. There are some warnings with recent gcc versions. >> >> >When I try I get: >> >../../../makefile.inc:11: *** Recursive variable `CFLAGS' references itself (eventuall). Stop. >> > >> >I'm using make version 3.79.1. >> >> No problems with make 3.77. >> >> >I suspect it the line that reads >> > >> >xstrftm.exe: CFLAGS += -Wno-error >> > >> >that is the problem. >> >> The following patches should take care of the warnings. >> Then the CFLAGS line can be removed from the makefile, >> if that is causing the problem. > >Thanks. But it doesn't help. > >With that line in the makefile I get the error above ("Recursive >variable `CFLAGS'..."). > >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 >xstrftm.c:22: warning: `%x' yields only last 2 digits of year in some locales >xstrftm.c:29: warning: `%x' yields only last 2 digits of year in some locales >xstrftm.c:34: warning: `%x' yields only last 2 digits of year in some locales >make.exe: *** [xstrftm.o] Error 1 > >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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |