Date: Tue, 11 Aug 2015 16:04:26 +0200 From: Joerg Sonnenberger <joerg@britannica.bec.de> To: svn-src-all@freebsd.org Subject: Re: svn commit: r286100 - in head/sys: net netipsec Message-ID: <20150811140426.GB13365@britannica.bec.de> In-Reply-To: <20150731053201.GX78154@funkthat.com> References: <201507310023.t6V0NLVT013789@repo.freebsd.org> <CAFMmRNzwsKceTwe7jGn1qo86ZGfYB-rwNaHCU47H%2Bw=9SNvqoQ@mail.gmail.com> <20150731053201.GX78154@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150811140426.GB13365>