"Michael S. Tsirkin" writes:
> All users include the trailing ;, let's require that
> so that uses such as if (a) QEMU_BUILD_BUG_ON(); do not
> produce unexpected results.
>
> Not a huge problem for QEMU since our style requires the use
> of {} but seems cleaner nevertheless.
I
On 18 January 2017 at 21:23, Michael S. Tsirkin wrote:
> On Wed, Jan 18, 2017 at 11:16:07PM +0200, Michael S. Tsirkin wrote:
>> On Wed, Jan 18, 2017 at 09:04:03PM +, Peter Maydell wrote:
>> > On 18 January 2017 at 20:55, Michael S. Tsirkin wrote:
>> > > All
On Wed, Jan 18, 2017 at 11:16:07PM +0200, Michael S. Tsirkin wrote:
> On Wed, Jan 18, 2017 at 09:04:03PM +, Peter Maydell wrote:
> > On 18 January 2017 at 20:55, Michael S. Tsirkin wrote:
> > > All users include the trailing ;, let's require that
> > > so that uses such as if
On Wed, Jan 18, 2017 at 09:04:03PM +, Peter Maydell wrote:
> On 18 January 2017 at 20:55, Michael S. Tsirkin wrote:
> > All users include the trailing ;, let's require that
> > so that uses such as if (a) QEMU_BUILD_BUG_ON(); do not
> > produce unexpected results.
>
> When
On 18 January 2017 at 20:55, Michael S. Tsirkin wrote:
> All users include the trailing ;, let's require that
> so that uses such as if (a) QEMU_BUILD_BUG_ON(); do not
> produce unexpected results.
When would it ever make sense for a build-time
assert to be the only thing inside
All users include the trailing ;, let's require that
so that uses such as if (a) QEMU_BUILD_BUG_ON(); do not
produce unexpected results.
Not a huge problem for QEMU since our style requires the use
of {} but seems cleaner nevertheless.
Signed-off-by: Michael S. Tsirkin
---