Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16, php-7.3.3RC1, php-7.2.16RC1, php-7.2.15, php-7.3.2, php-7.2.15RC1, php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14, php-7.2.14RC1, php-7.3.1RC1, php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6, php-7.1.24, php-7.2.12, php-7.3.0RC5, php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4 |
#
4acc8500 |
| 28-Sep-2018 |
Anatol Belski |
Enforce C++11 in ext/intl ICU 59 already requires C++11 by default. The minimum version required by the core is 50, which is compiled with at least C++11 in many distros as package d
Enforce C++11 in ext/intl ICU 59 already requires C++11 by default. The minimum version required by the core is 50, which is compiled with at least C++11 in many distros as package defs tell. Headers for ICU versions between ICU 50 and 58 look fine when included for C++11 compilation, the linking is thereof not affected. The macro PHP_CXX_COMPILE_STDCXX is based on https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html The patch consists on allowing to read the corresponding switch in a user defined variable instead of enforcing CXXFLAGS globally. That way, every ext or SAPI can decide, which C++ standard is to be used. The documentation is provided in the m4 file. C++11 is already somewhat older standard, C++14 were better. However issues with GCC < 5.0 and some other compilers are possibly to hit back. Still there's some time to check for C++14 for ext/intl, too. Having said that, C++11 in ext/intl and a mechanism to determine features is a good step towards better C++ support.
show more ...
|