From owner-svn-src-all@freebsd.org Tue Aug 11 14:04:34 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2593299F0E3 for ; Tue, 11 Aug 2015 14:04:34 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7C09EA for ; Tue, 11 Aug 2015 14:04:33 +0000 (UTC) (envelope-from joerg@britannica.bec.de) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/auYssS93lrFEFR+8Ng== X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de (ip-2-202-106-25.web.vodafone.de [2.202.106.25]) by smtp.strato.de (RZmta 37.8 DYNA|AUTH) with ESMTPSA id g03c76r7BE4RYiJ (using TLSv1 with cipher AES256-SHA (256 bits)) (Client did not present a certificate) for ; Tue, 11 Aug 2015 16:04:27 +0200 (CEST) Received: by britannica.bec.de (sSMTP sendmail emulation); Tue, 11 Aug 2015 16:04:26 +0200 Date: Tue, 11 Aug 2015 16:04:26 +0200 From: Joerg Sonnenberger To: svn-src-all@freebsd.org Subject: Re: svn commit: r286100 - in head/sys: net netipsec Message-ID: <20150811140426.GB13365@britannica.bec.de> References: <201507310023.t6V0NLVT013789@repo.freebsd.org> <20150731053201.GX78154@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150731053201.GX78154@funkthat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2015 14:04:34 -0000 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