develooper Front page | perl.perl5.porters | Postings from November 2013

Darwin g++ build broken

Thread Next
From:
Father Chrysostomos
Date:
November 30, 2013 14:21
Subject:
Darwin g++ build broken
Message ID:
20131130142116.15295.qmail@lists-nntp.develooper.com
Darwin g++ build broken

(I just fixed it in 6bfae95.)

This makes me ask:  Is it really worth optimising the code for warn-
ings to this extent?  Would it not be better to silence warnings spe-
cific to gcc-on-Linux that are spurious, instead of trying to work
around them?

We seem to be optimising for warnings over and above maintainability
now.  This type of code, for example, is harder to fathom for the cas-
ual reader than the shorthand equivalent:

int foo;
foo = ...;
PERL_UNUSED_ARG(foo);


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About