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

Re: [Encode] 2.87 released!

Thread Previous | Thread Next
November 2, 2016 18:13
Re: [Encode] 2.87 released!
Message ID: writes:

> On Wednesday 02 November 2016 09:32:56 demerphq wrote:
>> On 1 Nov 2016 7:37 p.m., <> wrote:
>> > But, question is: how to prevent to happen this situation again?
>> > Compile errors are already handled by travis when making pull
>> > requests but looks like this is not enough...
>> There are build options for gcc that will help you catch most of the
>> common patterns that break c89.
> It is possible to configure travis-ci for github encode repository to 
> use it? Or do you have any other idea of automated tests (ideally for 
> those platforms which are c89 only)?

As as of 5.22, perl itself is compiled with
-Werror=declaration-after-statement, but that's not imposed on CPAN
modules.  If you want Encode to use the same warning and language
version as perl core, you can add $Config{ccwarnflags} and
$Config{ccstdflags} to CCFLAGS in Makefile.PL if they're defined.

"A disappointingly low fraction of the human race is,
 at any given time, on fire." - Stig Sandbeck Mathisen

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About