svn commit: r286100 - in head/sys: net netipsec

Joerg Sonnenberger joerg at britannica.bec.de
Tue Aug 11 14:04:34 UTC 2015


On Thu, Jul 30, 2015 at 10:32:01PM -0700, John-Mark Gurney wrote:
> Ryan Stone wrote this message on Fri, Jul 31, 2015 at 01:03 -0400:
> > You can't use CTASSERT in a header. You'll get a compile error if two
> 
> Testing a fix now...
> 
> > different headers included in the same translation unit have a CTASSERT on
> > the same line number.
> 
> Not w/ clang anymore...  _Static_assert is now a built-in..  And we have
> a few CTASSERTs in header files already...

Clang also supports __COUNTER__.

Joerg


More information about the svn-src-all mailing list