svn commit: r286168 - head/sys/net

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Sun Aug 2 11:43:32 UTC 2015


> On 02 Aug 2015, at 00:15 , John-Mark Gurney <jmg at FreeBSD.org> wrote:
> -CTASSERT(sizeof(struct sadb_x_policy) == 16);
> +_Static_assert(sizeof(struct sadb_x_policy) == 16, "struct size mismatch");


If this fires, how does it look like?  I am assuming the string at the end is the error message?  If so and if the assertion is not printed that string should be improved rather than being the same for all checks.

/bz


More information about the svn-src-all mailing list