C2071 Error in #undef Explanation: You specified a #undef directive that contains an error. The syntax for this and all other preprocessor directives can be found in the "Language Reference" chapter of the Reference Guide. Action: Correct and recompile.