[php-src] PR #17229: ext/pdo_firebird: Fix label followed by declaration
| From: | shivammathur | Date: | Sat, 21 Dec 2024 08:25:19 +0000 |
| Subject: | [php-src] PR #17229: ext/pdo_firebird: Fix label followed by declaration | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30079@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17229
Author: shivammathur
This PR fixes a build failure in
pdo_firebird.
After #17173, I get this error when compiling with gcc-9.
> error: a label can only be part of a statement and a declaration is not a statement.
Build failure: https://github.com/shivammathur/php-builder/actions/runs/12440286121/job/34735517472#step:5:3219
To fix this we can add a ; after the case label and before the declaration.