Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

Qoption in icc.cfg file

Przemysław_O_
Beginner
119 Views

Hi,

I have to use an compiler command line option in Visual Studio Intel C++ Project:

/Qoption,cpp,--pch_control=268435456

due the compile error: Intel C++ 16.0 Error : Unable to Obtain mapped memory (see pch_diag.txt)

I have this problem only on one machine, and it would be good to enable it on machine level.

Can I use this /Qoption in icc.cfg? Is there a help/faq for this configuration file?

Best regards

Przemek

0 Kudos
1 Reply
Melanie_B_Intel
Employee
119 Views

Yes you can put the Qoption into the configuration file

There's documentation here: https://software.intel.com/en-us/node/522780

Note that on Linux there are 2 different configuration files, one for C compilations and one for C++ compilations

--Melanie

Reply