From owner-svn-src-head@FreeBSD.ORG Thu Oct 14 15:52:47 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 082A1106564A; Thu, 14 Oct 2010 15:52:46 +0000 (UTC) (envelope-from john@jnielsen.net) Received: from ns1temp.jnielsen.net (ns1temp.jnielsen.net [69.55.230.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9F40D8FC14; Thu, 14 Oct 2010 15:52:46 +0000 (UTC) Received: from jnielsen.socialserve.com ([12.53.251.10]) (authenticated bits=0) by ns1temp.jnielsen.net (8.14.3/8.14.3) with ESMTP id o9EFIJo8016976 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 14 Oct 2010 11:18:19 -0400 (EDT) (envelope-from john@jnielsen.net) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: John Nielsen In-Reply-To: <201010131033.o9DAX1EE080534@svn.freebsd.org> Date: Thu, 14 Oct 2010 11:18:08 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <80A99C4D-ACAF-45CD-BE51-3B7560A85D96@jnielsen.net> References: <201010131033.o9DAX1EE080534@svn.freebsd.org> To: Rui Paulo X-Mailer: Apple Mail (2.1081) X-DCC-sonic.net-Metrics: ns1temp.jnielsen.net; whitelist X-Virus-Scanned: clamav-milter 0.96.3 at ns1temp.jnielsen.net X-Virus-Status: Clean Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r213765 - head/sys/dev/aic7xxx/aicasm X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2010 15:52:47 -0000 I'm migrating a box from 8-STABLE to -CURRENT this morning and this = commit seems to break buildkernel: cc -O2 -pipe -nostdinc -I/usr/include -I. = -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 -Wsystem-headers -Werror = -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual = -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align = -Wno-pointer-sign -c aicasm_scan.c cc1: warnings being treated as errors /usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:840: warning: function = declaration isn't a prototype *** Error code 1 I don't have any custom CFLAGS, etc defined. Commenting out the new = #defines from this patch allows the build to continue. I'm guessing this doesn't happen on machines already running -CURRENT or = tinderbox (and others) would have noticed. However if this is (going to = be) a supported upgrade path from 8.x to 9.0 perhaps there's a way to = make both clang and gcc from 8.x happy? JN On Oct 13, 2010, at 6:33 AM, Rui Paulo wrote: > Author: rpaulo > Date: Wed Oct 13 10:33:01 2010 > New Revision: 213765 > URL: http://svn.freebsd.org/changeset/base/213765 >=20 > Log: > Define YY_NO_INPUT. This makes aicasm buildable by clang with Werror > turned on. >=20 > Modified: > head/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l > head/sys/dev/aic7xxx/aicasm/aicasm_scan.l >=20 > Modified: head/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l Wed Oct 13 = 10:31:32 2010 (r213764) > +++ head/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l Wed Oct 13 = 10:33:01 2010 (r213765) > @@ -61,6 +61,7 @@ > #include "aicasm_symbol.h" > #include "aicasm_macro_gram.h" >=20 > +#define YY_NO_INPUT > #define MAX_STR_CONST 4096 > static char string_buf[MAX_STR_CONST]; > static char *string_buf_ptr; >=20 > Modified: head/sys/dev/aic7xxx/aicasm/aicasm_scan.l > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/sys/dev/aic7xxx/aicasm/aicasm_scan.l Wed Oct 13 10:31:32 2010 = (r213764) > +++ head/sys/dev/aic7xxx/aicasm/aicasm_scan.l Wed Oct 13 10:33:01 2010 = (r213765) > @@ -61,6 +61,7 @@ > #include "aicasm_symbol.h" > #include "aicasm_gram.h" >=20 > +#define YY_NO_INPUT > /* This is used for macro body capture too, so err on the large size. = */ > #define MAX_STR_CONST 4096 > static char string_buf[MAX_STR_CONST]; > _______________________________________________ > svn-src-head@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to = "svn-src-head-unsubscribe@freebsd.org" >=20