we should enforce this flag. 2012/2/1 Johannes Schlüter <johan...@schlueters.de>: > Setting CFLAGS=-Wdeclaration-after-statement makes gcc complain about > this, too. > > johannes > > On Tue, 2012-01-31 at 21:07 +0100, Pierre Joye wrote: >> hi, >> >> GCC is only being very bad at considering part of C99 as default. >> >> Cheers, >> >> On Tue, Jan 31, 2012 at 4:45 PM, Rasmus Lerdorf <ras...@lerdorf.com> wrote: >> > On 01/31/2012 02:14 AM, Pierre Joye wrote: >> > >> >> - struct pdo_sqlite_collation *collation; >> >> - >> >> while (H->collations) { >> >> + struct pdo_sqlite_collation *collation; >> >> collation = H->collations; >> >> H->collations = collation->next; >> > >> > Why would this change fix anything? You are just tightening the scope of >> > collation there? This compiled perfectly with gcc before this change. >> > >> > -Rasmus >> >> >> >> -- >> Pierre >> >> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org >> > >
-- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php