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

Reply via email to