Closed
Description
Description
There is a suspicion that the combination of BEGIN_EXTERN_C() + INTERNAL_FUNCTION_PARAMETERS macro with additional parameters doesn't work for MSVC in C++ mode.
Errors:
php-src\Zend\zend_exceptions.h(75): error C2122: 'message': prototype parameter in name list illegal
php-src\Zend\zend_exceptions.h(75): error C2122: 'code': prototype parameter in name list illegal
php-src\Zend\zend_exceptions.h(75): error C2122: 'previous': prototype parameter in name list illegal
BEGIN_EXTERN_C()
ZEND_API zend_result zend_update_exception_properties(INTERNAL_FUNCTION_PARAMETERS, zend_string *message, zend_long code, zval *previous);
END_EXTERN_C()
PHP Version
PHP 8.4.0
Operating System
WINDOWS 11