svn commit: r312905 - head/sys/net

Cy Schubert Cy.Schubert at komquats.com
Sat Jan 28 16:53:43 UTC 2017


In message <6db0fa21-aaf0-6e0d-5b90-5b0c58fd396b at freebsd.org>, Sean Bruno 
write
s:
> This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
> --dkfsunaMxftWlJwiAwenDrGag5jVrG0u1
> Content-Type: multipart/mixed; boundary="7VU3bI00OrFqhCUsm1WfMDVJhUghilMdl";
>  protected-headers="v1"
> From: Sean Bruno <sbruno at freebsd.org>
> To: Cy Schubert <Cy.Schubert at komquats.com>
> Cc: src-committers at freebsd.org, svn-src-all at freebsd.org,
>  svn-src-head at freebsd.org
> Message-ID: <6db0fa21-aaf0-6e0d-5b90-5b0c58fd396b at freebsd.org>
> Subject: Re: svn commit: r312905 - head/sys/net
> References: <201701281526.v0SFQAmv018310 at slippy.cwsent.com>
> In-Reply-To: <201701281526.v0SFQAmv018310 at slippy.cwsent.com>
> 
> --7VU3bI00OrFqhCUsm1WfMDVJhUghilMdl
> Content-Type: text/plain; charset=windows-1252
> Content-Transfer-Encoding: quoted-printable
> 
> >> /export/home/cy/freebsd/svn/ip6-cksum/sys/net/iflib.c:2363:1: error:=20
> >> function definition is not allowed here
> >> {
> >> ^
> >> fatal error: too many errors emitted, stopping now [-ferror-limit=3D]
> >=20
> > My initial email about this was correct. It does fail when building i38=
> 6 only. (It builds for amd64.)
> >=20
> >=20
> 
> Hmmm ... ok.  Does Hiren's suggestion fix your build error?
> 
> Index: sys/net/iflib.c
> =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
> --- sys/net/iflib.c     (revision 312909)
> +++ sys/net/iflib.c     (working copy)
> @@ -1536,8 +1536,8 @@
>                                 goto fail;
>                         }
>                 }
> +#endif
>         }
> -#endif
>         return (0);
> 
>  fail:

Yes, that fixes it.

I'm sorry for expressing it so badly at first.


-- 
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.




More information about the svn-src-all mailing list