Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2015 22:32:01 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        src-committers@freebsd.org, svn-src-head@freebsd.org, svn-src-all@freebsd.org
Subject:   Re: svn commit: r286100 - in head/sys: net netipsec
Message-ID:  <20150731053201.GX78154@funkthat.com>
In-Reply-To: <CAFMmRNzwsKceTwe7jGn1qo86ZGfYB-rwNaHCU47H%2Bw=9SNvqoQ@mail.gmail.com>
References:  <201507310023.t6V0NLVT013789@repo.freebsd.org> <CAFMmRNzwsKceTwe7jGn1qo86ZGfYB-rwNaHCU47H%2Bw=9SNvqoQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150731053201.GX78154>