Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2002 02:51:38 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Marcel Moolenaar <marcel@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/kern subr_witness.c
Message-ID:  <20020428024122.R660-100000@gamplex.bde.org>
In-Reply-To: <200204270258.g3R2wIm09710@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020428024122.R660-100000>