svn commit: r286110 - head/sys/net

Warner Losh imp at bsdimp.com
Fri Jul 31 14:31:50 UTC 2015


> On Jul 31, 2015, at 1:48 AM, John-Mark Gurney <jmg at FreeBSD.org> wrote:
> 
> Author: jmg
> Date: Fri Jul 31 07:48:08 2015
> New Revision: 286110
> URL: https://svnweb.freebsd.org/changeset/base/286110
> 
> Log:
>  temporarily fix build..  This isn't the final fix, and testing is
>  still on going, but it has passed world for mips and powerpc...
> 
>  I know this has an extra semicolon, but this is the patch that is
>  tested...
> 
>  Looks like better fix is to use _Static_assert...

Is _Static_assert supported by gcc? No, it isn’t, but sys/cdefs.h provides a definition.

The real problem here is that sys/cdefs.h isn’t included to pick that up, so we got issues.

Warner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150731/d37ffec7/attachment.bin>


More information about the svn-src-head mailing list