Important Preprocessor Definitions:
-
UNICODE
- krabsetw expects theUNICODE
preprocessor definition to be defined. The code will not successfully compile without this flag. There is no plan to support compilation withoutUNICODE
being set. -
NDEBUG
- Set this variable in release builds to disable runtime type assertions. You'll still get a runtime error if the size type you're requesting is not the same size as the property in the event schema. -
TYPEASSERT
- Set this variable only in debug builds (notNDEBUG
) to enable strict assertions. This means that if an explicit type check is not defined for a requested type, astatic_assert
is thrown and the code will not compile until one is added. This is mainly used for krabs development to ensure that we don't miss asserts for types that are supported.