Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MZ0xF
Beginner
73 Views

oneAPI Compiler Warnings Treated As Error

Hello, 

I am upgrading our intel compiler from the classic one(19.0) to OneAPI 2021.1.1.

OS - Win10.

IDE - Visual Studio 2019 16.8.4.

 

I am receiving the following errors:

error : unused parameter 'regionSequence' [-Werror,-Wunused-parameter].

error: argument unused during compilation: '-arch:SSE2' [-Werror,-Wunused-command-line-argument].

 

The compiler settings are:

"icl.exe /nologo /Zp16 /W3 /D_WINDOWS /D__Native /DkNativeProcessCodeCompilation=1 /Qstd=c++17 /QxSSE3 /QaxSSE4.2"

 

 

Thanks,

Max.

 

0 Kudos
3 Replies
AbhishekD_Intel
Moderator
39 Views

Hi,


Thanks for reaching out to us.

Will you please try using ICX.exe as some of the errors you have mentioned are fixed in the compiler.

Try with ICX and send us the logs so that we will get more insight into this issue.

Also please send us a small reproducer for this issue with your configurations, so that we can try it out on our end and will try to resolve this issue.


Warm Regards,

Abhishek


AbhishekD_Intel
Moderator
13 Views

Hi,


Please give us an update on the provided details.


Thank You


AbhishekD_Intel
Moderator
2 Views

Hi,


We haven't heard back from you for a long time, so we are assuming that the provided details helped you to solve your issue.

We will no longer monitor this thread, please post a new thread if you have any issues.


Warm Regards,

Abhishek