Re: com php-src: Fix warnings in mysqlnd_alloc.c: ext/mysqlnd/mysqlnd_alloc.c
| From: | Nikita Popov | Date: | Wed, 19 Jun 2019 07:49:50 +0000 |
| Subject: | Re: com php-src: Fix warnings in mysqlnd_alloc.c: ext/mysqlnd/mysqlnd_alloc.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-106877@lists.php.net to get a copy of this message | ||
On Wed, Jun 19, 2019 at 9:41 AM Andrey Hristov <php@hristov.com> wrote:
> Nikita,
> why change code that works for years with the possibility to break
> things? This code ain't decaying.
>
> Cheers,
> Andrey
>
We build with -Werror in CI nowadays, so this code was no longer working
anymore. I believe it was clang on macos generating warnings here.
Nikita
> On 12.06.19 г. 14:17 ч., Nikita Popov wrote:
> > Commit: 3e4b9659d33d4c2eaf4e11a7917f5d9d2355aed1
> > Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 12 Jun 2019
> 12:28:51 +0200
> > Parents: 9fa552f3935f29371102f784b1bbfde753253aed
> > Branches: PHP-7.4 master
> >
> > Link:
>
> http://git.php.net/?p=php-src.git;a=commitdiff;h=3e4b9659d33d4c2eaf4e11a7917f5d9d2355aed1
> >
> > Log:
> > Fix warnings in mysqlnd_alloc.c
> >
> > And also separate the PHP_DEBUG codepaths more, to avoids having an
> > ifdef every other line...
> >
> > Changed paths:
> > M ext/mysqlnd/mysqlnd_alloc.c
> >
> >
> >
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>