fix wmake to use warning messages TRYING_UNDEF_UNDEF and MACRO_UNDEFINED in debug mode only
do formatting changes