Intel® Advisor User Guide

ID 766448
Date 7/13/2023
Public

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

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.

Cause

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.