I'm using Intel C++ Compiler 10.0.025, MS Visual Studio 2005 (as IDE).
My project is a dynamic library, which includes header-file with declaration of classes and some functions and cpp-file with the main export function there.
A strange thing is: compiler doesn't recognize a directives #pragma omp parallel for, located in the main export function in cpp-file.
i.e. it doesn't write OpenMP DEFINED LOOP WAS PARALLELIZED. as usual, it writes nothing, and parallelism doesn't work.
But! It happens only in release mode with the project's option runtime library: Multi-threaded (MT)
Compiler works correctly with optionruntime library: Multi-threaded DLL (MD)
But MD-mode is not good for me.
In debug mode all is correct in both cases (MTd and MDd)
All openMP pragmas in header-file are processed correctly.
How can one explain it?
No, you ask for speculation which probably would be irrelevant, since you don't give much detail. You'd probably have to update to a supported compiler version. If you still had a problem, you could submit the case on your premier.intel.com account.