Intel® Advisor User Guide

ID 766448
Date 3/31/2023

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Problem: Unexpected C/C++ Compilation Errors After Adding Annotations


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


After you add the annotations and the #include line to include the Intel® Advisor annotation definition file, you see unexpected C/C++ compiler messages.


Possible causes:

  • Type and debug symbol conflicts.

  • windows.h file issues.

Possible Solution

Do the following:

  1. Read the help topics starting with 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.