Intel® Advisor Help

Troubleshooting Unexpected C/C++ Compilation Errors After Adding Annotations

Symptoms

After adding Intel Advisor annotations, you see unexpected compiler messages when building your C/C++ target executable.

Details

After you add the annotations and the #include line to include the Intel Advisor annotation definition file, you see unexpected C/C++ compiler messages, possibly related to type and debug symbol conflicts or windows.h.

Possible Correction Strategies

Do the following:

  1. Read the help topics starting with About Tips for Annotation Use with C/C++ Programs to help you decide how to modify your sources, such as Handling Compilation Issues that Appear After Adding advisor-annotate.h.

  2. Modify sources.

  3. Rebuild your target.

See Also