com php-src: added appropriate exception handling flag to ext\intl: ext/intl/config.w32

From: Date: Fri, 17 Jan 2014 10:03:40 +0000
Subject: com php-src: added appropriate exception handling flag to ext\intl: ext/intl/config.w32
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75663@lists.php.net to get a copy of this message
Commit: 7f0aff52cf35db89c1285ddb931fc118e1127561 Author: Anatol Belski <ab@php.net> Fri, 17 Jan 2014 11:03:40 +0100 Parents: b070f1080bdb59cbecaebe617f890c2859cb4448 Branches: PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7f0aff52cf35db89c1285ddb931fc118e1127561 Log: 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. Changed paths: M ext/intl/config.w32 Diff: diff --git a/ext/intl/config.w32 b/ext/intl/config.w32 index bb1dca8..22cde6b 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");

« previous php.cvs (#75663) next »