From owner-cvs-all Sat Apr 27 9:50:36 2002 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id D158537B41F; Sat, 27 Apr 2002 09:50:27 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA04914; Sun, 28 Apr 2002 02:50:26 +1000 Date: Sun, 28 Apr 2002 02:51:38 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Marcel Moolenaar Cc: cvs-committers@FreeBSD.org, Subject: Re: cvs commit: src/sys/kern subr_witness.c In-Reply-To: <200204270258.g3R2wIm09710@freefall.freebsd.org> Message-ID: <20020428024122.R660-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 26 Apr 2002, Marcel Moolenaar wrote: > marcel 2002/04/26 19:58:18 PDT > > Modified files: > sys/kern subr_witness.c > Log: > Insert a semi-colon between label 'skip:' and the closing brace > of the FOREACH loop to silence GCC 3. Why not do this to fix the syntax error? This has nothing to do with gcc, except gcc-3 has apparently been unbroken to print a diagnostic for this error. gcc-2 only complains if invoked with -pedantic. Tendra has the syntax requirement more built in and gives up without really understanding the problem. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message