Philippe M. Chiasson wrote:
Isn't that my ^^^ redundant ?
YES. You would have thought I would have gotten a  warning from perl.
I suspect the version parsing could be simplified to something
more explicit like this :
I do too, but I'm not that familiar with GCC version numbers. Is there never a case where its i.e.: 3.0 or 3?
my ($maj, $min, $patch) = $gccversion =~ /^(\d+)\.(\d+)\.(\d+)/;
 or
my ($maj, $min, $patch) = split /\./, $gccversion;

#Gcc 3.3.2 and higher
if ($maj >= 3 && $min >= 3 && $patch >= 2) {
    $ccopts .= " -Wdeclaration-after-statement";
}

--
END
---------------------------------------------------------
    What doesn't kill us can only make us stronger.
               Nothing is impossible.
                                
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
     http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to