|  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: -
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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: peterkokot at gmail dot com
New email:
PHP Version: OS:


 [2017-09-26 23:07 UTC] peterkokot at gmail dot com
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);


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-23 08:08 UTC]
Automatic comment on behalf of
Log: Fix bug #75264
 [2017-10-23 08:08 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Sep 26 10:01:24 2023 UTC