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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"