-
Notifications
You must be signed in to change notification settings - Fork 8k
Open
Description
Description
Hi
Trying to compile 8.5 (53b0a95) under MSVC x64 (vs17 & vs18)
🔴 I have errors on ext\intl\locale\locale_methods.cpp
:
ext\intl\locale\locale_methods.cpp(525): error C2664: 'void get_icu_value_src_php(char *,zend_execute_data *,zval *)' : impossible de convertir l'argument 1 de 'const char [7]' en 'char *'
✅ adding /Zc:strictStrings-
to CFLAGS_BD_EXT_INTL_LOCALE
resolve the compilation issue and give a working build (against icu 78.1)
See full cmd line and failing result
PHP Version
PHP 8.5.0-dev (cli) (built: Oct 8 2025 14:47:36) (ZTS MSVC 19.50.35503, untested x64)
Copyright (c) The PHP Group
Zend Engine v4.5.0-dev, Copyright (c) Zend Technologies
with Zend OPcache v8.5.0-dev, Copyright (c), by Zend Technologies
Operating System
Windows 11 x64