perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Ananiev" <hallm...@3dzone-bg.com>
Subject Re: bugs_build TODO completed -Wdeclaration-after-statement
Date Wed, 10 Aug 2005 08:50:11 GMT

"Philip M. Gollucci" <pgollucci@p6m7g8.com> wrote in message
news:42F97DA0.7000607@p6m7g8.com...
> Revised:
>
> Index: Build.pm
>[...]
> +            ## GCC 3.3.2+
> +            if ($gcc_major >= 3 && $gcc_minor >= 3 &&
> +                $gcc_patch >= 2) {
> +              $ccopts .= " -Wdeclaration-after-statement";
> +            }
>           }
>       }
>

I think this is not good, because it won't catch 3.4.1.
Maybe this is better:

if ($maj . $min . $patch >= 332) {
$ccopts .= " -Wdeclaration-after-statement";
}




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message