I am using code:blocks 64 bit with kubuntu build 10.05. The compiler is Intel ComposerXE-2011. When I compile I get the error:
icpc: error #10236: File not found: '/EHs'
For some reason code:blocks is turning on windows exception handling and the Intel compiler is complaining and not producing any output.
Does anyone have a solution for this?
Quote from: jim12345 on December 24, 2010, 03:50:52 PM
For some reason code:blocks is turning on windows exception handling and the Intel compiler is complaining and not producing any output.
Does anyone have a solution for this?
Turn off this feature in your project options (compiler settings) at project/target level (depending on your setup). Alternatively check you global compiler options whether this flag has been turned on there.
My target is Unix and there are no switches turned on for exception handling.
The full compiler line is:
icpc -Wall /EHs -w0 -g -c main.cpp -o obj/Debug/main.o
icpc: error #10236: File not found: '/EHs'
Quote from: jim12345 on December 24, 2010, 04:21:31 PM
My target is Unix and there are no switches turned on for exception handling.
Trust me, there is.
Please also check build options -> compiler settings -> tab "other options".
Again, at project / target(s) and global compiler options level.
BTW: Did you import your project from a VS solution?