swoole / ext-postgresql

🐘 Coroutine-based client for PostgreSQL
65 stars 21 forks source link

新版swoole和这个不匹配呢 #45

Closed linjuchen closed 4 years ago

linjuchen commented 4 years ago

In file included from /data/opt/ext-postgresql-4.4.18/swoole_postgresql_coro.cc:17:0: /data/opt/ext-postgresql-4.4.18/swoole_postgresql_coro.h:27:2: error: #error "Ext version does not match the Swoole version"

error "Ext version does not match the Swoole version"

^ /data/opt/ext-postgresql-4.4.18/swoole_postgresql_coro.cc:59:5: error: ‘php_coro_context’ does not name a type php_coro_context context; ^ /data/opt/ext-postgresql-4.4.18/swoole_postgresql_coro.cc:73:18: error: ‘php_coro_context’ does not name a type static sw_inline php_coro_context php_swoole_postgresql_coro_get_context(zval zobject) ^ /data/opt/ext-postgresql-4.4.18/swoole_postgresql_coro.cc: In function ‘void zim_swoole_postgresql_coro_connect(zend_execute_data, zval)’: /data/opt/ext-postgresql-4.4.18/swoole_postgresql_coro.cc:280:5: error: ‘string’ is not a member of ‘zend’ zend::string dsn(conninfo);

Yanghsuanming commented 4 years ago

直接拉git master的版本