MSVC++ Preprocessor - How do I output a define's value with a compiler macro? - by RobotCaleb I tried #error MY_DEFINE But all that did is echo "MY_DEFINE" when it threw the error. Thanks! Read the article