From owner-freebsd-bugs Sun Dec 23 11:38:32 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from serv1.ilse.nl (serv1.ilse.nl [195.18.92.131]) by hub.freebsd.org (Postfix) with ESMTP id 0739437B416; Sun, 23 Dec 2001 11:38:29 -0800 (PST) Received: (from marcolz@localhost) by serv1.ilse.nl (8.11.6/8.10.2) id fBNJcSJ91800; Sun, 23 Dec 2001 20:38:28 +0100 (MET) Date: Sun, 23 Dec 2001 20:38:28 +0100 From: Marc Olzheim To: gnats-admin@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: Marc Olzheim Subject: Re: kern/33117: empty struct md_coredump in pcb.h and user.h violates strict ansi Message-ID: <20011223203828.A91724@ilse.nl> References: <200112231917.fBNJHun02054@crime.ncc1701.org> <200112231930.fBNJU0J35662@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200112231930.fBNJU0J35662@freefall.freebsd.org>; from gnats-admin@FreeBSD.org on Sun, Dec 23, 2001 at 11:30:00AM -0800 X-Operating-System: FreeBSD serv1.ilse.nl 3.3-RELEASE FreeBSD 3.3-RELEASE X-URL: http://www.ilse.nl/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Whoops, that last patch should of course be: --- /usr/src/sys/sys/user.h Thu Oct 11 12:05:10 2001 +++ /usr/src/sys/sys/user.h Tue Nov 13 19:38:48 2001 @@ -106,7 +106,10 @@ * Remaining fields for a.out core dumps - not valid at other times! */ struct kinfo_proc u_kproc; /* proc + eproc */ + +#if !defined(__STRICT_ANSI__) /* no empty structs please */ struct md_coredump u_md; /* machine dependent glop */ +#endif }; #endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message