Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
7679 Discussions

VS 2022 Intellisense not recognizing ICX predefined macros

wmeier
Novice
186 Views

Using the Intel C++ 2022 compiler (Version 2022.0.0 Build 20211123) in Visual Studio 2022, Intellisense does not recognize ICX compiler predefined macros such as __INTEL_LLVM_COMPILER and __clang__.

 

VS 2022 Intellisense does work with Intel C++ 19.2, recognizing __INTEL_COMPILER as a predefined macro.

 

Is there a fix for ICX integration into VS 2022?

 

 

Labels (1)
0 Kudos
1 Solution
VarshaS_Intel
Moderator
129 Views

Hi,


We have not heard back from you. Could you please provide an update on your issue?


Thanks & Regards,

Varsha


View solution in original post

5 Replies
VarshaS_Intel
Moderator
164 Views

Hi,

 

Thanks for posting in Intel Communities.

 

>>Is there a fix for ICX integration into VS 2022?

Yes, this is a known issue and will be fixed in future updates. 

 

As of now, please find the below workaround:

1. In Visual Studio Project properties, Go to Configuration Properties --> C/C++ --> Preprocessor -->Preprocessor Definitions then add __INTEL_LLVM_COMPILER=202110

 

Please find the below screenshot for more details:

LLVM_MACRO.png

 

Thanks & Regards,

Varsha

 

VarshaS_Intel
Moderator
130 Views

Hi,


We have not heard back from you. Could you please provide an update on your issue?


Thanks & Regards,

Varsha


VarshaS_Intel
Moderator
100 Views

Hi,

 

I could see you have marked the reminder reply as a solution. Did the solution provided by us help you? If yes, then can we go ahead and close this thread?

 

Thanks & Regards,

Varsha

 

wmeier
Novice
89 Views

Yes, the provided solution helped me, thank you.  Please close thread.

VarshaS_Intel
Moderator
68 Views

Hi,


>>Please close thread.

Thanks for the confirmation. 


Glad to know that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Have a Good day!


Thanks & Regards,

Varsha


Reply