note 126046 rejected from ref.pdo-informix by cmb
| From: | cmb@php.net | Date: | Fri, 30 Apr 2021 11:12:40 +0000 |
| Subject: | note 126046 rejected from ref.pdo-informix by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-216334@lists.php.net to get a copy of this message | ||
Note Submitter: admin at devinthehood dot com
----
Hi, does anybody have it working with PHP8.0 ? It's ok in PHP7.4 but in 8.0, i can't have
"make" command working after ./configure --with-pdo-informix=/opt/ibm/informix having
errors:
/root/PDO_INFORMIX-1.3.3/php_pdo_informix_int.h:47:60: error: expected ';', ','
or ')' before 'TSRMLS_DC'
int record_last_insert_id( pdo_dbh_t *dbh, SQLHANDLE hstmt TSRMLS_DC);
^~~~~~~~~
/root/PDO_INFORMIX-1.3.3/php_pdo_informix_int.h:51:125: error: expected ';', ','
or ')' before 'TSRMLS_DC'
void raise_sql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, SQLHANDLE handle, SQLSMALLINT hType, char
*tag, char *file, int line TSRMLS_DC);
^~~~~~~~~
In file included from /root/PDO_INFORMIX-1.3.3/pdo_informix.c:31:
/root/PDO_INFORMIX-1.3.3/php_pdo_informix_int.h:52:121: error: expected ';', ','
or ')' before 'TSRMLS_DC'
void raise_informix_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *state, char *tag, char *message,
char *file, int line TSRMLS_DC);
^~~~~~~~~
/root/PDO_INFORMIX-1.3.3/php_pdo_informix_int.h:53:70: error: expected ';', ','
or ')' before 'TSRMLS_DC'
void raise_dbh_error(pdo_dbh_t *dbh, char *tag, char *file, int line TSRMLS_DC);
...