diff options
author | Anatol Belski <ab@php.net> | 2014-01-17 11:03:40 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-01-17 11:03:40 +0100 |
commit | 7f0aff52cf35db89c1285ddb931fc118e1127561 (patch) | |
tree | b355622c92e62d678057f3e0892fb3706b02b213 | |
parent | b070f1080bdb59cbecaebe617f890c2859cb4448 (diff) | |
download | php-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.w32 | 1 |
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"); |