Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2019 17:08:13 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Konstantin Belousov <kib@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   Re: svn commit: r354856 - stable/12/sys/amd64/amd64
Message-ID:  <5b2560fa-78b8-457a-a6ba-a48547bae438@selasky.org>
In-Reply-To: <201911191532.xAJFWFru096735@repo.freebsd.org>
References:  <201911191532.xAJFWFru096735@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-11-19 16:32, Konstantin Belousov wrote:
> +_Static_assert(nitems(gdt_segs) == NGDT, "Stale NGDT");

Why are you not using the CTASSERT() macro? Is _Static_assert() portable?

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5b2560fa-78b8-457a-a6ba-a48547bae438>