1.9.1 defines BSON_STATIC_ASSERT() like this:
#define BSON_STATIC_ASSERT(s) BSON_STATIC_ASSERT_ (s, __LINE__, assert)
But BSON_STATIC_ASSERT_() macro takes only two arguments:
#define BSON_STATIC_ASSERT_(s, l) \ typedef char BSON_STATIC_ASSERT_JOIN (static_assert_test_, \ __LINE__)[(s) ? 1 : -1]
- is related to
-
CDRIVER-2450 Altering BSON_STATIC_ASSERT_JOIN2 macro is an API break
- Closed