]> granicus.if.org Git - php/commit
Fixed bug #66009 Failed compilation of PHP extension with C++ std library using VS...
authorAnatol Belski <ab@php.net>
Fri, 3 Jan 2014 23:47:10 +0000 (00:47 +0100)
committerAnatol Belski <ab@php.net>
Sat, 4 Jan 2014 00:41:49 +0000 (01:41 +0100)
commit19aafe43b27b52be6a006c652bbefd936bd3721c
treee009c57d5b0af2a62646aa9667885ae4dc07b077
parent250ee4c17a40eb79b4057374384b8669e803636a
Fixed bug #66009 Failed compilation of PHP extension with C++ std library using VS 2012

Visual Studio 2012 includes sanity checks for C++11 features, see
http://msdn.microsoft.com/en-us/library/vstudio/bb531344(v=vs.110).aspx
To fix the 'inline' keyword redefinition for C++ in debug mode, the
new macros ZEND_WIN32_KEEP_INLINE is introduced, ZEND_WIN32_FORCE_INLINE is
automatically appended in release mode.
TSRM/tsrm_config.w32.h
Zend/zend_config.w32.h