I am handling a legacy code.
To fix some bug, I have to give EHa to some of the files. I tested giving both EHsc and EHa to the whole project when building. This solves my problem but gives warnings saying that compiler is overriding EHs with EHa. (order of options is: /EHsc /EHa) This warning occurs only when files that need EHa is being built. It doesn't appear on source files that only needs EHs.
<name of the file that needs EHa>\cl : warning D9025 : overriding '/EHs' with '/EHa'
My question is, does this warning tell what actually happens? Is EHa applied only on source files that actually need EHa? (Are the other files that do not need EHa built with EHsc?)
Thank you.