On Tue, Dec 19, 2017 at 03:32:27PM -0800, Sairam Venugopal wrote: > A static assert declaration may appear at block scope (as a block > declaration) and inside a class body (as a member declaration). However, > unlike sizeof, static_assert cannot be used as an expression and this is > strictly enforced on MSVC. error C2059: syntax error : static_assert > > Signed-off-by: Sairam Venugopal <[email protected]>
I'd really prefer to adjust the definition of BUILD_ASSERT so that it can be used in any expression context. Did you consider that? _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
