Date: Wed, 30 Jul 2014 09:08:40 +0000 From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r269231 - head/usr.bin/m4/lib Message-ID: <98D8945B-7D51-45C7-9BF6-0DA677FCA2B3@FreeBSD.org> In-Reply-To: <201407290946.s6T9k9rO072927@svn.freebsd.org> References: <201407290946.s6T9k9rO072927@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29 Jul 2014, at 09:46 , Baptiste Daroussin <bapt@FreeBSD.org> wrote: > Author: bapt > Date: Tue Jul 29 09:46:08 2014 > New Revision: 269231 > URL: http://svnweb.freebsd.org/changeset/base/269231 >=20 > Log: > Fix build with gcc >=20 I fear that was not enough; this is on arm: =3D=3D=3D> usr.bin/m4 (all) = = = =20 =3D=3D=3D> usr.bin/m4/tests (all) = = = =20 cc1: warnings being treated as errors /scratch/tmp/bz/head.svn/usr.bin/m4/misc.c: In function 'm4errx': /scratch/tmp/bz/head.svn/usr.bin/m4/misc.c:268: warning: declaration of = 'eval' shadows a global declaration /scratch/tmp/bz/head.svn/usr.bin/m4/extern.h:40: warning: shadowed = declaration is here --- misc.o --- *** [misc.o] Error code 1 = = = =20 bmake: stopped in /scratch/tmp/bz/head.svn/usr.bin/m4 cc1: warnings being treated as errors /scratch/tmp/bz/head.svn/usr.bin/m4/lib/ohash.c: In function = 'ohash_remove': /scratch/tmp/bz/head.svn/usr.bin/m4/lib/ohash.c:123: warning: cast = discards qualifiers from pointer target type /scratch/tmp/bz/head.svn/usr.bin/m4/lib/ohash.c: In function = 'ohash_find': /scratch/tmp/bz/head.svn/usr.bin/m4/lib/ohash.c:144: warning: cast = discards qualifiers from pointer target type /scratch/tmp/bz/head.svn/usr.bin/m4/lib/ohash.c: In function = 'ohash_next': /scratch/tmp/bz/head.svn/usr.bin/m4/lib/ohash.c:183: warning: cast = discards qualifiers from pointer target type --- ohash.o --- *** [ohash.o] Error code 1 = = = =20 bmake: stopped in /scratch/tmp/bz/head.svn/usr.bin/m4 --- all_subdir_m4 --- = = = =20 *** [all_subdir_m4] Error code 1 bmake: stopped in /scratch/tmp/bz/head.svn/usr.bin > Modified: > head/usr.bin/m4/lib/ohash.h >=20 > Modified: head/usr.bin/m4/lib/ohash.h > = =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/usr.bin/m4/lib/ohash.h Tue Jul 29 09:36:48 2014 = (r269230) > +++ head/usr.bin/m4/lib/ohash.h Tue Jul 29 09:46:08 2014 = (r269231) > @@ -58,8 +58,7 @@ void ohash_delete(struct ohash *); > unsigned int ohash_lookup_interval(struct ohash *, const char *, > const char *, uint32_t); > unsigned int ohash_lookup_memory(struct ohash *, const char *, > - size_t, uint32_t) > - __attribute__ ((__bounded__(__string__,2,3))); > + size_t, uint32_t); > void *ohash_find(struct ohash *, unsigned int); > void *ohash_remove(struct ohash *, unsigned int); > void *ohash_insert(struct ohash *, unsigned int, void *); >=20 =97=20 Bjoern A. Zeeb "Come on. Learn, goddamn it.", WarGames, 1983
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98D8945B-7D51-45C7-9BF6-0DA677FCA2B3>