php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80467 compile issue with PHP 8
Submitted: 2020-12-02 09:43 UTC Modified: -
Votes:14
Avg. Score:4.6 ± 0.8
Reproduced:12 of 12 (100.0%)
Same Version:8 (66.7%)
Same OS:12 (100.0%)
From: shop1 at mokraemer dot de Assigned:
Status: Open Package: svn (PECL)
PHP Version: 8.0.0 OS: Linux
Private report: No CVE-ID: None
 [2020-12-02 09:43 UTC] shop1 at mokraemer dot de
Description:
------------
e.g.
svn.c:296:53: error: expected ';', ',' or ')' before 'TSRMLS_DC'
  296 | static void php_svn_handle_error(svn_error_t *error TSRMLS_DC)
      |                                                     ^~~~~~~~~
svn.c: In function 'php_svn_auth_ssl_client_server_trust_prompter':
svn.c:338:2: warning: implicit declaration of function 'TSRMLS_FETCH'; did you mean 'TSRMLS_CACHE'? [-Wimplicit-function-declaration]
  338 |  TSRMLS_FETCH();
      |  ^~~~~~~~~~~~
      |  TSRMLS_CACHE
svn.c: In function 'init_svn_client':
svn.c:363:12: warning: type of 'TSRMLS_D' defaults to 'int' [-Wimplicit-int]
  363 | static int init_svn_client(TSRMLS_D)
      |            ^~~~~~~~~~~~~~~
svn.c:374:2: warning: 'svn_client_create_context' is deprecated [-Wdeprecated-declarations]
  374 |  if ((err = svn_client_create_context (&SVN_G(ctx), SVN_G(pool)))) {
      |  ^~
In file included from php_svn.h:43,
                 from svn.c:33:
/usr/include/subversion-1/svn_client.h:1117:1: note: declared here
 1117 | svn_client_create_context(svn_client_ctx_t **ctx,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
svn.c:375:3: warning: implicit declaration of function 'php_svn_handle_error'; did you mean 'svn_handle_error'? [-Wimplicit-function-declaration]
  375 |   php_svn_handle_error(err TSRMLS_CC);
      |   ^~~~~~~~~~~~~~~~~~~~
      |   svn_handle_error
svn.c:375:27: error: expected ')' before 'TSRMLS_CC'
  375 |   php_svn_handle_error(err TSRMLS_CC);
      |            


Patches

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC