Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

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

Theshe
Novice
1,318 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
1,291 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.

 

0 Kudos
Theshe
Novice
1,277 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

 

 

 

 

 

0 Kudos
NoorjahanSk_Intel
Moderator
1,251 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
1,161 Views

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

0 Kudos
Eirik
Novice
941 Views

Is there any update on this issue?

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

0 Kudos
Viet_H_Intel
Moderator
933 Views

This issue will be fixed in the coming Update.

Thanks,


0 Kudos
Reply