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] krakjoe@php.net
Automatic comment on behalf of peterkokot@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=a59e233aa18a1ea7aca57d5b56c3cdad62b192e5
Log: Fix bug #75264
 [2017-10-23 08:08 UTC] krakjoe@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 12:01:29 2024 UTC