# New Ticket Created by Steve Peters # Please include the string: [perl #42107] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42107 >
Intel C++ identifies itself as gcc. Often this can lead to unusual failures throughout a compile. The patch below helps to identify gcc compilers correctly. Steve Peters [EMAIL PROTECTED] Index: config/auto/gcc.pm =================================================================== --- config/auto/gcc.pm (revision 17781) +++ config/auto/gcc.pm (working copy) @@ -53,7 +53,9 @@ my $major = $gnuc{__GNUC__}; my $minor = $gnuc{__GNUC_MINOR__}; - unless ( defined $major ) { + my $intel = $gnuc{__INTEL_COMPILER}; + + if (defined $intel || ! defined $major) { print " (no) " if $verbose; $self->set_result('no'); $conf->data->set( gccversion => undef );