From 4f80896e6c945239631f5f85e51251b6ed868d0d Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 24 Apr 2012 08:54:37 -0400 Subject: [PATCH] Intel: On Windows use /EHsc instead of deprecated /GX (#13163) Use of the deprecated option with Intel 2011 produces icl: command line remark #10010: option '/GX' is deprecated and will be removed in a future release. See '/help deprecated' so use its replacement option which has been supported for several older versions anyway. --- Modules/Platform/Windows-Intel-CXX.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Platform/Windows-Intel-CXX.cmake b/Modules/Platform/Windows-Intel-CXX.cmake index 2845b0ffb..ec5f0aec6 100644 --- a/Modules/Platform/Windows-Intel-CXX.cmake +++ b/Modules/Platform/Windows-Intel-CXX.cmake @@ -1,4 +1,4 @@ include(Platform/Windows-Intel) set(_COMPILE_CXX " /TP") -set(_FLAGS_CXX " /GX /GR") +set(_FLAGS_CXX " /EHsc /GR") __windows_compiler_intel(CXX)