php-src/build
Anatol Belski 4acc8500ac 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.
2018-10-07 20:00:03 +02:00
..
ax_check_compile_flag.m4 Upgrade AX_CHECK_COMPILE_FLAG macro to serial 6 2018-07-28 01:40:02 +02:00
ax_gcc_func_attribute.m4 Optimized php_addslashes with SSE4.2 instructions 2018-01-15 21:17:50 +08:00
build2.mk Fix AC_RUN_IFELSE calls when cross-compiling 2018-07-30 06:38:59 +02:00
build.mk year++ 2018-01-02 12:57:58 +08:00
buildcheck.sh Remove old SVN keywords substitutions 2018-06-16 13:04:30 +02:00
config-stubs Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
genif.sh Make PHP development tools files and scripts executable 2018-08-29 20:58:17 +02:00
libtool.m4 Don't detect FreeBSD 10 as FreeBSD 1 in libtool.m4. 2015-08-27 15:59:59 -07:00
mkdep.awk Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
order_by_dep.awk Fix invalid range error by gawk in order_by_dek.awk 2015-08-21 00:13:03 +02:00
php_cxx_compile_stdcxx.m4 Enforce C++11 in ext/intl 2018-10-07 20:00:03 +02:00
print_include.awk Replace the incomprehensible newline escaping with @NEWLINE@ 2001-03-30 14:02:20 +00:00
scan_makefile_in.awk - Moved scan_makefile_in.awk to better suitable place for it. 2003-06-09 00:17:03 +00:00
shtool fix bug #51076 (race condition in shtool's mkdir -p) 2013-10-08 08:37:08 +02:00