Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 21:11:12 +0100
From:      Ed Schouten <ed@80386.nl>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r228478 - head/sys/sys
Message-ID:  <20111213201112.GG1771@hoeg.nl>
In-Reply-To: <alpine.BSF.2.00.1112132004490.4603@ai.fobar.qr>
References:  <201112131939.pBDJdOm4064325@svn.freebsd.org> <alpine.BSF.2.00.1112132004490.4603@ai.fobar.qr>

next in thread | previous in thread | raw e-mail | index | archive | help

--HB4mHL4PVvkpZAgW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net>, 20111213 21:06:
> Cool, can we have a second variant with a custom error message?

Yes; just use _Static_assert for that! It won't print the custom error
message right now, but as soon as compilers implement C1X, it will work
for you.

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--HB4mHL4PVvkpZAgW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iQIcBAEBAgAGBQJO57FgAAoJEG5e2P40kaK7iZIQAKI+u2Gveqh2cIpCfupA1P8L
0n0gnzvGJGAUQac8qntjqcwMvSCzBbmA5dTJ5nCFlbE6hB3r6nrwmEaveE2yXpCU
jSGVWLzQBWY8qihC5yALTtzP8RonFtfWPa5Dt1UIKqgHiQ21gKhxjt93Zg9d7/bN
ey12mweNpyC4MiTPOB4EXrgUtqIcJ/aNSuHVWWUqFjgrtPTHbNzLxi54S0P5J/Tb
PtkFn8NwRdfF72La0RtIlH6MYZq+2I9D56sIJTu0djGptccx15hs+rDi+CmLzX31
CIh1+911HsVhRTz5AWXY1ovSTpyX3+438ezvF8H1Ikmi3hPKshcbqbENsYKpKCo3
SWDsSfBuYIpjfRWZ22EBmTm7ppv/UayA8WZkOnpEVAmtdKMX/m0Fs41o+anNulY2
ycqiNcX6xkpLhoOnKxZMhbIpTeXbDArMPmSWYrfBy6pguP5nANIqnVfhBXeUdBBN
mQIde2jAq26jO5Et/A56wU1bEkzx7leGcX4+/Jr5MclsDdrGBQtHckZL16tENr79
f7adEJaomJGt3kuswN5/Hz6PfaNFgXW5L3UcwnT4V5lclSeaY9KBBOEuVzZ7axwx
uZ69dbXUV0WzZKz79gFaE+AL8eg89j77aq/+4uHsysOhXSAya4QdLw93qyYOsNEZ
w/cKvdZj9Kr4SIxa2f6j
=X4mw
-----END PGP SIGNATURE-----

--HB4mHL4PVvkpZAgW--



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