Jorgen Bodde wrote:
Since a while I am missing this flag from the VS.NET generator: /EHsc

Every app I compile crashes unless i add it, I nevber had problems with my apps with older versions of CMakeSetup (using 2.2 patch 2). Is this flag removed for a reason? Or is this already fixed in newer versions?

The flag is needed virtually always, it is generating code related to the unwind stack for exception handling.

If this flag is not going to be added, how can I add this to my VS.NET generated projects with the ADD_DEFINITIONS ?

The flag has not been removed but instead it has been added to the table that transforms flags into GUI settings in the project files. Therefore the flag does not show up in the list of extra compile options but the GUI setting for exception handling should be enabled.

-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to