On Thu, 2008-05-29 at 09:41 -0700, NotFound wrote: > + # Dirty way of checking if compiling with c++ > + my $nocpp = index($conf->data->get('cc'), '++') < 0; > + > - $self->set_result("set for gcc"); > + if ($nocpp) { > + for my $maybe_warning > (@{ $self->{potential_warnings_no_cpp} }) { > + $self->try_warning( $conf, $maybe_warning, > $verbose ); > + } > + } > + > + if ($nocpp) { > + $self->set_result("set for gcc"); > + } else { > + $self->set_result("set for g++"); > + }
Nit: three of those lines look like they've either got a real tab at the front, or some other spacing oddity that makes them not line up properly. -'f