Re: com php-src: ICU 59+ requires C++11 and errors out without the option: ext/intl/config.m4

From: Date: Tue, 19 Jun 2018 14:19:58 +0000
Subject: Re: com php-src: ICU 59+ requires C++11 and errors out without the option: ext/intl/config.m4
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102192@lists.php.net to get a copy of this message
Le 18/06/2018 à 01:42, Stanislav Malyshev a écrit : > Commit: 5dd1ef90caec3021e6ce55c8554e695edf641eaf > Author: Stanislav Malyshev <stas@php.net> Sun, 17 Jun 2018 16:00:06 -0700 > Parents: 11507c0e1bfa17a96480f3648397f6975c31551e > Branches: PHP-7.1 PHP-7.2 master > > Link: > http://git.php.net/?p=php-src.git;a=commitdiff;h=5dd1ef90caec3021e6ce55c8554e695edf641eaf > > + if test "$icu_version" -ge "59000"; then > + ICU_CXXFLAGS="$ICU_CXXFLAGS -std=c++11 -stdlib=libc++" > + fi It looks like this change breaks build with recent GCC BUILDSTDERR: cc1plus: error: unrecognized command line option '-stdlib=libc++' BUILDSTDERR: make: *** [Makefile:1245: ext/intl/intl_convertcpp.lo] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: cc1plus: error: unrecognized command line option '-stdlib=libc++' BUILDSTDERR: make: *** [Makefile:1247: ext/intl/common/common_enum.lo] Error 1 Notice: alpha1 build ok with ICU 60.2 without this commit... Remi

« previous php.cvs (#102192) next »