Bug #75264 [Opn->Csd]: Assignment discards 'const' qualifier from pointer target type

From: Date: Mon, 23 Oct 2017 08:08:34 +0000
Subject: Bug #75264 [Opn->Csd]: Assignment discards 'const' qualifier from pointer target type
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211855@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75264&edit=1 ID: 75264 Updated by: krakjoe@php.net Reported by: peterkokot at gmail dot com Summary: Assignment discards 'const' qualifier from pointer target type -Status: Open +Status: Closed Type: Bug Package: Compile Warning Operating System: Alpine PHP Version: 7.0.23 Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2017-09-26 23:07:21] 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); ^ ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75264&edit=1

« previous php.bugs (#211855) next »