summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2013-11-19 16:25:51 -0500
committerTony Cook <tony@develop-help.com>2013-11-20 16:18:37 +1100
commita48cc4c4277ae7875bbf28793177c100f1d5784c (patch)
tree543a599b558ffd0b01c83101a702418329c66cf0 /ext
parent670de6d6a9c900cd23ea5f542b7d35bbd83f1084 (diff)
downloadperl-a48cc4c4277ae7875bbf28793177c100f1d5784c.tar.gz
add Intel C++ Compiler for Win32 support
-most fixes involve code detecting Perl on VC, and changing it to ICC is another kind of VC, but ICC's version isn't this "other kind of VC"'s version number, call the partner VC to find out the "VC version number" of ICC not yet done -no Intel C specific optimization flags -long doubles and C99 -ccversion behavior might not be ideal/rethink
Diffstat (limited to 'ext')
-rw-r--r--ext/POSIX/t/posix.t9
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/POSIX/t/posix.t b/ext/POSIX/t/posix.t
index 88fe2ca0d9..febf4d818d 100644
--- a/ext/POSIX/t/posix.t
+++ b/ext/POSIX/t/posix.t
@@ -210,9 +210,12 @@ $lc = &POSIX::setlocale(&POSIX::LC_TIME, 'C') if $Config{d_setlocale};
try_strftime("Wed Feb 28 00:00:00 1996 059", 0,0,0, 28,1,96);
SKIP: {
skip("VC++ 8 and Vista's CRTs regard 60 seconds as an invalid parameter", 1)
- if ($Is_W32 and (($Config{cc} eq 'cl' and
- $Config{ccversion} =~ /^(\d+)/ and $1 >= 14) or
- (Win32::GetOSVersion())[1] >= 6));
+ if ($Is_W32
+ and (($Config{cc} eq 'cl' and
+ $Config{ccversion} =~ /^(\d+)/ and $1 >= 14)
+ or ($Config{cc} eq 'icl' and
+ `cl --version 2>&1` =~ /^.*Version\s+([\d.]+)/ and $1 >= 14)
+ or (Win32::GetOSVersion())[1] >= 6));
try_strftime("Thu Feb 29 00:00:60 1996 060", 60,0,-24, 30,1,96);
}