php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75264 Assignment discards 'const' qualifier from pointer target type
Submitted: 2017-09-26 23:07 UTC Modified: -
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: peterkokot at gmail dot com Assigned:
Status: Closed Package: Compile Warning
PHP Version: 7.0.23 OS: Alpine
Private report: No CVE-ID: None
 [2017-09-26 23:07 UTC] peterkokot at gmail dot com
Description:
------------
When doing ./configure && make

The following compilation warning appears:

/opt/php/ext/dba/dba_gdbm.c: In function 'dba_open_gdbm':
/opt/php/ext/dba/dba_gdbm.c:69:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  *error = gdbm_strerror(gdbm_errno);
         ^



Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-23 08:08 UTC] [email protected]
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jun 13 10:01:36 2025 UTC