Using /Qipo breaks compilation with /SAFESEH or /Qsafeseh. If I use /Qip then everything compiles fine and the resulting executable has SEH table. I don't see something relevant in the documentation so I come to the conclusion that this is somehow broken or it's by design like this. Can someone shed some light on this?
The test case is in the link I posted. Anyway, attached is the source code.
Things to try: * Run "build\Notepad2_icl12.sln" and you'll see that the executable will have the problem I described. * Change /qipo to /qip and it will work as it should. * Specify /SAFESEH in the linker, so that it's forced to generate SEH table, with /qipo and you'll get compilation errors.
May I also suggest that the default location for the WPOObject file is set to IntDir? Because if it's not set the WPO object file gets generated every time even if nothing has changed and it can take a while for large projects.
One last thing I'd like to see in the documentation is something like this. It helps a lot to see which compiler switches are in effect with each optimization option enabled. If it's already there, sorry for that.
Sorry, not possible. Isn't that something the Intel developers should take care of when reviewing this issue? I don't see why I have to provide a smaller test case when this happens every time regardless of the code.