Hi, the same problem as new UNUSED macro was causing me problems when building external libraries, like LuaJIT, an assert macro is also causing problems when building Sqlite3 library. Sqlite code has a lot of assert statements which are usually excluded when NDEBUG is set. But when assert is defined as:
#ifdef NDEBUG # define assert(f) ((void)(1 || (f))) # define VERIFY(f) assert(f) #else compiler throws undefined variable errors all the time. With simple (void)0 definition there is no problem. Yet another reason to evaluate this change of UNUSED and assert macro? Jernej