diff options
author | Anatol Belski <ab@php.net> | 2014-09-08 20:34:26 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-09-08 20:34:26 +0200 |
commit | 9ee4a40f27c7c7fcd0edcd3a7420ea7cdf299f45 (patch) | |
tree | 4061e877b7326a01da8574644d88ffd8e4446b2f /ext/intl/msgformat/msgformat_helpers.h | |
parent | 6561d03a41772309aaff6027dced8b349eaf1458 (diff) | |
download | php-git-9ee4a40f27c7c7fcd0edcd3a7420ea7cdf299f45.tar.gz |
made Visual Studio to understand that zend_error_noreturn() will not return
- windows only, on linux gcc would cause a warning that the function returns,
as no noreturn functions are used
- ZEND_NORETURN works on windows as well now, using __declspec(noreturn),
which is useful for the other cases
- one more function call will be needed, which is not critical for the
error reporting
- the way is open to enable the same for gcc as soon as it's not causing a warning
Diffstat (limited to 'ext/intl/msgformat/msgformat_helpers.h')
0 files changed, 0 insertions, 0 deletions