Problem with STM compiler and MSVS 2005

Problem with STM compiler and MSVS 2005

Imade an STM compiler installation and could compile from the command line the sample "intel_stmtest_virtual.cpp" successfully. But the same operation from within VS 2005 in a converted project failed because of a simple reason: The ms compiler option "/EHsc" produces an error at the line "#pragma omp section" :

error: "#" not expected here
1> #pragma omp section

You should inform the interested users of that prototype compiler that they should switch off this option within VS 2005 to get an error free executable.

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.