From owner-freebsd-current Tue Apr 17 13:30:14 2001 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id 51E1537B43C; Tue, 17 Apr 2001 13:30:09 -0700 (PDT) (envelope-from david@catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.10.0/8.10.0) id f3HKU1A86600; Tue, 17 Apr 2001 13:30:01 -0700 (PDT) Date: Tue, 17 Apr 2001 13:30:01 -0700 (PDT) From: David Wolfskill Message-Id: <200104172030.f3HKU1A86600@bunrab.catwhisker.org> To: current@FreeBSD.ORG, john@baldwin.cx Subject: Re: FW: Snapshot Log - current broke Cc: kris@FreeBSD.ORG In-Reply-To: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Tue, 17 Apr 2001 12:34:39 -0700 (PDT) >From: John Baldwin >.... >===> usr.sbin/pcvt/vttest >cc -O -pipe -traditional -DUSEMYSTTY -I/usr/obj/usr/src/i386/usr/include -c >/usr/src/usr.sbin/pcvt/vttest/main.c >cc -O -pipe -traditional -DUSEMYSTTY -I/usr/obj/usr/src/i386/usr/include -c >/usr/src/usr.sbin/pcvt/vttest/esc.c >gzip -cn /usr/src/usr.sbin/pcvt/vttest/vttest.1 > vttest.1.gz >In file included from /usr/src/usr.sbin/pcvt/vttest/header.h:26, > from /usr/src/usr.sbin/pcvt/vttest/esc.c:1: >/usr/obj/usr/src/i386/usr/include/stdio.h:302: syntax error before `char' >In file included from /usr/src/usr.sbin/pcvt/vttest/header.h:26, > from /usr/src/usr.sbin/pcvt/vttest/main.c:20: >/usr/obj/usr/src/i386/usr/include/stdio.h:302: syntax error before `char' >*** Error code 1 >*** Error code 1 >2 errors >... Whacking src/include/stdio.h thus: Index: include/stdio.h =================================================================== RCS file: /cvs/freebsd/src/include/stdio.h,v retrieving revision 1.32 diff -u -u -r1.32 stdio.h --- include/stdio.h 2001/04/17 07:59:52 1.32 +++ include/stdio.h 2001/04/17 17:54:57 @@ -299,7 +299,7 @@ __BEGIN_DECLS int asprintf __P((char **, const char *, ...)) __printflike(2, 3); char *ctermid_r __P((char *)); -const char *fmtcheck __P((const char *, const char *)) +__const char *fmtcheck __P((const char *, const char *)) __attribute__((__format_arg__(2))); char *fgetLn __P((FILE *, size_t *)); int fpurge __P((FILE *)); has allowed the "make buildworld" to succeed for me. Building the kernel as I type; above was hand-transcribed (machine is not networked at the moment). Use at your own risk; void where prohibited, etc.... Cheers, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message