Why don't you just submit it as a bug report to the anally retentive ones? ----- Original Message ----- From: "Wez Furlong" <[EMAIL PROTECTED]> To: "Ilia Alshanetsky" <[EMAIL PROTECTED]> Cc: "Marcus Boerger" <[EMAIL PROTECTED]>; <[email protected]> Sent: Thursday, May 19, 2005 2:18 PM Subject: Re: [PHP-CVS] cvs: php-src /ext/pdo php_pdo_driver.h /ext/pdo_mysql mysql_driver.c mysql_statement.c /ext/pdo_pgsql pgsql_driver.c pgsql_statement.c
Can we ignore that particular warning in future? Trailing commas are good to keep around for copy-and-paste purposes, and can also help to reduce the number of lines you see in a diff when elements are added to enums, arrays and structs, if you're into that kind of thing. There should be a flag to turn this particular warning off, it's tempting to enable it if we detect gcc 4; the compiler shouldn't force you to change what is a safe and well accepted coding practice, for no better reason than just because the people writing the compiler are anally retentive. --Wez. On 5/19/05, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote: > Welcome to the GCC 4.0 world, in GCC 3.4 those only appear if you > enabled pedantic flag, but in GCC 4.0 they appear as regular warning > messages. > > Ilia > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
