VS Code: Code shows errors in IDE, yet builds are successful

In Visual Studio 2017: Project > Properties > Nmake > Preprocessor Definition > Edit
(And check the Include Search Path > Edit)