Community
cancel
Showing results for 
Search instead for 
Did you mean: 
One_C_
Beginner
55 Views

Scope issues

Hi,

I work on a large project that is compiled with icc 11. Now we are migrating to icc 13 and I get numerous scope issues when compiling the same code on the new compiler. Any idea what might have been chenged regarding the precprocessor or how the compiler "understands" the C++ standrad that might cause the scope problems?

Thanks!

0 Kudos
2 Replies
TimP
Black Belt
55 Views

You probably meant to post this on the C++ forum.  Generally speaking, gcc/g++ have been getting more strict about enforcing scoping, and icc has gone along with the trend.  There definitely are cases where MIcrosoft style will be diagnosed as broken.

SergeyKostrov
Valued Contributor II
55 Views

>>...Now we are migrating to icc 13 and I get numerous scope issues when compiling the same code on the new compiler... I think you need to provide at least a couple of examples and could you submit compilation errors / warnings?
Reply