C/C++ Index Problem reporting places a problem marker on the editor and adds an item to the error list for each preprocessor or semantic problem reported by the parser. Note that the markers will only show up the next time the file is indexed.
To enable C/C++ Index Problem reporting:
C/C++ search
C/C++ Indexer
C/C++ Indexer Problem Reporting
C/C++ Indexer Opening or Closing a project
C/C++ Indexer Progress Bar
Selection Searching for C/C++ elements
Enable/Disable the C/C++ Indexer
C/C++ Indexer - Indexer Timeout
Setting Source Folders
Search, C/C++ Preferences window
C/C++ search page, Search dialog box
C/C++ Project Properties, Managed, Indexer
C/C++ Project Properties, Standard, Indexer