Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
7782 Discussions

Intel oneAPI DPC++ compiler 2022.0.2 gives warning in VisualStudio 2017/2019/2022

Theshe
Novice
868 Views

With Intel oneAPI DPC++ compiler 2022.0.2 I get the following warnings, which show up (at least) when a "static" library (.lib) is being built:

1>------ Rebuild All started: Project: libCrypt, Configuration: Release x64 ------
1>ignoring unknown argument: -mllvm:-mcpu=x86-64
1>ignoring unknown argument: -opt:lldlto=2
1>ignoring unknown argument: -mllvm:-vector-library=SVML
1>ignoring unknown argument: -mllvm:-disable-hir-generate-mkl-call
1>ignoring unknown argument: -mllvm:-intel-libirc-allowed
1>ignoring unknown argument: -mllvm:-loopopt=0
1>ignoring unknown argument: -mllvm:-enable-lv

What is the meaning? Can it be fixed?

Regards.

0 Kudos
6 Replies
NoorjahanSk_Intel
Moderator
841 Views

Hi,

 

Thanks for reaching out to us.

 

Could you please provide us with a sample reproducer and steps you have followed to reproduce the issue so that, we can try it from our end?

 

 

Thanks & Regards,

Noorjahan.

 

Theshe
Novice
827 Views

1. Install Intel oneAPI DPC++ compiler 2022 or 2022.0.2

 

2. Create a new project/solution in VisualStudio 2017/2019/2022 of type "Visual C++/Static Library".

 

3. On the new project, choose "Intel Compiler" -> "Use Intel oneAPI DPC++/C++ Compiler" to enable the Intel compiler.

 

4. Re-build the solution! (with all settings at default)

 

1>------ Rebuild All started: Project: StaticLib1, Configuration: Debug Win32 ------
1>ignoring unknown argument: -mllvm:-mcpu=pentium4
1>ignoring unknown argument: -opt:lldlto=2
1>ignoring unknown argument: -mllvm:-vector-library=SVML
1>ignoring unknown argument: -mllvm:-disable-hir-generate-mkl-call
1>ignoring unknown argument: -mllvm:-intel-libirc-allowed
1>ignoring unknown argument: -mllvm:-loopopt=0
1>ignoring unknown argument: -mllvm:-enable-lv

 

 

 

 

 

NoorjahanSk_Intel
Moderator
801 Views

Hi,


Thanks for providing the details.


We are also able to reproduce the issue from our end.

We are working on it. We will get back to you soon.


Thanks & Regards,

Noorjahan.


Theshe
Novice
711 Views

This problem still persists in oneAPI DPC++ compiler 2022.1.3.

Eirik
Novice
491 Views

Is there any update on this issue?

I still have the same problem in oneAPI DPC++ compiler 2022.2.

Viet_H_Intel
Moderator
483 Views

This issue will be fixed in the coming Update.

Thanks,


Reply