Skip to content

Commit 7f0aff5

Browse files
committed
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.
1 parent b070f10 commit 7f0aff5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/intl/config.w32

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ if (PHP_INTL != "no") {
118118
"intl");
119119

120120
ADD_FLAG("LIBS_INTL", "icudt.lib icuin.lib icuio.lib icule.lib iculx.lib");
121+
ADD_FLAG("CFLAGS_INTL", "/EHsc");
121122
AC_DEFINE("HAVE_INTL", 1, "Internationalization support enabled");
122123
} else {
123124
WARNING("intl not enabled; libraries and/or headers not found");

0 commit comments

Comments
 (0)