[svn:parrot] r44055 - branches/rm_cflags/config/auto
coke at svn.parrot.org
coke at svn.parrot.org
Wed Feb 17 01:26:05 UTC 2010
Author: coke
Date: Wed Feb 17 01:26:00 2010
New Revision: 44055
URL: https://trac.parrot.org/parrot/changeset/44055
Log:
don't bother enabling this warning solely for maintainer; covered with --cage
Modified:
branches/rm_cflags/config/auto/warnings.pm
Modified: branches/rm_cflags/config/auto/warnings.pm
==============================================================================
--- branches/rm_cflags/config/auto/warnings.pm Wed Feb 17 00:34:53 2010 (r44054)
+++ branches/rm_cflags/config/auto/warnings.pm Wed Feb 17 01:26:00 2010 (r44055)
@@ -8,10 +8,7 @@
=head1 DESCRIPTION
Automagically detect what warning flags, like -Wall, -Wextra,
--Wchar-subscripts, etc., that the compiler can support. Directly hacked
-from F<config/auto/attributes.pm>.
-
-=head1 SUBROUTINES
+-Wchar-subscripts, etc., that the compiler can support.
=over 4
@@ -160,7 +157,6 @@
# add on some extra warnings if requested
$self->_add_cage_warnings($conf);
- $self->_add_maintainer_warnings($conf);
# now try out our warnings
for my $maybe_warning (@{ $self->{potential_warnings} }) {
@@ -193,12 +189,6 @@
if $conf->options->get('cage');
}
-sub _add_maintainer_warnings {
- my ($self, $conf) = @_;
- push @{ $self->{potential_warnings} }, '-Wlarger-than-4096'
- if $conf->options->get('maintainer');
-}
-
=item C<try_warning>
Try a given warning to see if it is supported by the compiler. The compiler
More information about the parrot-commits
mailing list