Le 14/03/2017 à 00:44, PECL Announce a écrit : > The new PECL package mysql_xdevapi-1.0.1 (alpha) has been released at > http://pecl.php.net/.
32-bits build is also broken (ok with GCC 7, broken with older)
/builddir/build/BUILD/php-pecl-mysql-xdevapi-1.0.1/NTS/mysqlx_node_column_result.cc:223:25:
warning: comparison with string literal results in unspecified behavior
[-Waddress]
if(set->collation == "binary")
^~~~~~~~
/builddir/build/BUILD/php-pecl-mysql-xdevapi-1.0.1/NTS/mysqlx_node_column_result.cc:
In function 'void mysqlx::devapi::{anonymous}::get_column_length(zval*,
uint32_t)':
/builddir/build/BUILD/php-pecl-mysql-xdevapi-1.0.1/NTS/mysqlx_node_column_result.cc:288:6:
error: 'numeric_limits' is not a member of 'std'
if (std::numeric_limits<zend_long>::max() < length) {
^~~
/builddir/build/BUILD/php-pecl-mysql-xdevapi-1.0.1/NTS/mysqlx_node_column_result.cc:288:35:
error: expected primary-expression before '>' token
if (std::numeric_limits<zend_long>::max() < length) {
^
/builddir/build/BUILD/php-pecl-mysql-xdevapi-1.0.1/NTS/mysqlx_node_column_result.cc:288:36:
error: '::max' has not been declared
if (std::numeric_limits<zend_long>::max() < length) {
^~
/builddir/build/BUILD/php-pecl-mysql-xdevapi-1.0.1/NTS/mysqlx_node_column_result.cc:288:36:
note: suggested alternatives:
In file included from /usr/include/c++/6.3.1/bits/char_traits.h:39:0,
from /usr/include/c++/6.3.1/string:40,
from ./xmysqlnd/proto_gen/mysqlx.pb.h:7,
from ./xmysqlnd/xmysqlnd_wireprotocol.h:28,
from ./xmysqlnd/xmysqlnd_node_stmt.h:23,
from
/builddir/build/BUILD/php-pecl-mysql-xdevapi-1.0.1/NTS/mysqlx_node_column_result.cc:29:
/usr/include/c++/6.3.1/bits/stl_algobase.h:265:5: note: 'std::max'
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
/usr/include/c++/6.3.1/bits/stl_algobase.h:265:5: note: 'std::max'
/builddir/build/BUILD/php-pecl-mysql-xdevapi-1.0.1/NTS/mysqlx_node_column_result.cc:
In function 'uint64_t mysqlx::devapi::get_column_type(const
mysqlx::drv::st_xmysqlnd_result_field_meta*)':
/builddir/build/BUILD/php-pecl-mysql-xdevapi-1.0.1/NTS/mysqlx_node_column_result.cc:253:1:
warning: control reaches end of non-void function [-Wreturn-type]
}
^
Makefile:338: recipe for target 'mysqlx_node_column_result.lo' failed
signature.asc
Description: OpenPGP digital signature
