On Mon, Nov 19, 2012 at 9:00 PM, Mike McCormack <[email protected]> wrote:
> On 11/20/2012 01:22 AM, Lucas De Marchi wrote:
>
>> However it seems to be fixed in gcc now, so I think we can let people
>> with older compilers to see the warnings and have the benefits brought
>> by -Wshadow
>
> I don't see any benefit to using -Wshadow.

debian packagers. And, anyway, -Wshadow is enabled only in dev profile.

> There's not really a lot of point in turning lots of warnings on if
> we're not going to fix them for most recent compilers, because the whole
> point of fixing irrelevant warnings is so that the relevant ones are
> obvious.
>
> Building everything simply with -Wall would be sufficient for me.

there are other useful warning flags to pass to the compiler. The most
important one is, for me, -Wpointer-arith

Vincent

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to