Take the LE_TRACE macro for example. You can't use it like this since the macro is implemented using an unscoped if-statement:
if(blah) LE_TRACE(....) else LE_TRACE(...)
The macro is currently implemented like this:
#define LE_TRACE(traceRef, string, ...) if(bla) { ... }
And should be changed to something like this:
#define LE_TRACE(traceRef, string, ...) { if(bla) { ... } }
There are also other macros that aren't scoped in this file.
Take the LE_TRACE macro for example. You can't use it like this since the macro is implemented using an unscoped if-statement:
if(blah) LE_TRACE(....) else LE_TRACE(...)
The macro is currently implemented like this:
#define LE_TRACE(traceRef, string, ...) if(bla) { ... }
And should be changed to something like this:
#define LE_TRACE(traceRef, string, ...) { if(bla) { ... } }
There are also other macros that aren't scoped in this file.