From owner-freebsd-current Mon Nov 24 23:17:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA19790 for current-outgoing; Mon, 24 Nov 1997 23:17:17 -0800 (PST) (envelope-from owner-freebsd-current) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA19780 for ; Mon, 24 Nov 1997 23:17:13 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id XAA13119; Mon, 24 Nov 1997 23:16:51 -0800 (PST) Message-ID: <19971124231650.46158@hydrogen.nike.efn.org> Date: Mon, 24 Nov 1997 23:16:50 -0800 From: John-Mark Gurney To: shimon@simon-shapiro.org Cc: freebsd-current@FreeBSD.ORG Subject: Re: Make world fails on printf.c References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: ; from Simon Shapiro on Mon, Nov 24, 1997 at 09:13:38PM -0800 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Simon Shapiro scribbled this message on Nov 24: > I do not understand something and knwo not how to fix it: are you sure your up to date? this was an issue about a week or more ago that was fixed shortly after it was broken, this if the fix log: revision 1.11 date: 1997/11/18 15:23:23; author: jdp; state: Exp; lines: +5 -4 Back out revision 1.10. It broke the build of sh, which compiles this file with warnx() defined as a macro. > err.h:void warnx __P((const char *, ...)); > > and then, from make world last night: > > /usr/src/3.0/src/bin/sh/../../usr.bin/printf/printf.c:139: macro > `warnx' used with just one arg > /usr/src/3.0/src/bin/sh/../../usr.bin/printf/printf.c:188: macro > `warnx' used with just one arg > /usr/src/3.0/src/bin/sh/../../usr.bin/printf/printf.c:229: macro > `warnx' used with only 2 args > /usr/src/3.0/src/bin/sh/../../usr.bin/printf/printf.c:362: macro > `warnx' used with only 2 args > mkdep: compile failed > *** Error code 1 -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD