Community
cancel
Showing results for 
Search instead for 
Did you mean: 
shachar-arieli
Beginner
57 Views

Compilation error using Intel compiler 2017

Jump to solution

Hi,

I am getting the following error while compiling a project using Intel compiler (parallel studio 2017 rev 4)

"old for-init compatibility mode cannot be used with C++11 mode"

The project is compiling fine when using c++ compiler 2015.

Any idea on what i can do to correct this issue?

0 Kudos
1 Solution
Melanie_B_Intel
Employee
57 Views

This diagnostic is given for the /Zc:forScope command line option.  Refer to the msdn page for details about the option: https://msdn.microsoft.com/en-us/library/84wcsx8x.aspx

The remedy is to remove the command line option.  

--Melanie

View solution in original post

1 Reply
Melanie_B_Intel
Employee
58 Views

This diagnostic is given for the /Zc:forScope command line option.  Refer to the msdn page for details about the option: https://msdn.microsoft.com/en-us/library/84wcsx8x.aspx

The remedy is to remove the command line option.  

--Melanie

View solution in original post

Reply