summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-01-17 11:03:40 +0100
committerAnatol Belski <ab@php.net>2014-01-17 11:03:40 +0100
commit7f0aff52cf35db89c1285ddb931fc118e1127561 (patch)
treeb355622c92e62d678057f3e0892fb3706b02b213
parentb070f1080bdb59cbecaebe617f890c2859cb4448 (diff)
downloadphp-git-7f0aff52cf35db89c1285ddb931fc118e1127561.tar.gz
added appropriate exception handling flag to ext\intl
According to the doc page http://msdn.microsoft.com/en-us/library/1deeycx5.aspx it's appropriate as none of the extern C functions do throw exceptions. This also fixes the warning C4530.
-rw-r--r--ext/intl/config.w321
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/intl/config.w32 b/ext/intl/config.w32
index bb1dca8124..22cde6bd6d 100644
--- a/ext/intl/config.w32
+++ b/ext/intl/config.w32
@@ -118,6 +118,7 @@ if (PHP_INTL != "no") {
"intl");
ADD_FLAG("LIBS_INTL", "icudt.lib icuin.lib icuio.lib icule.lib iculx.lib");
+ ADD_FLAG("CFLAGS_INTL", "/EHsc");
AC_DEFINE("HAVE_INTL", 1, "Internationalization support enabled");
} else {
WARNING("intl not enabled; libraries and/or headers not found");