diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-23 09:18:41 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-23 09:18:41 +0000 |
commit | b68c599a1231c4d11ec0b0a667ce0c407c357eab (patch) | |
tree | d5ae12e45397be6d6266d7a947752951af4a968f /win32 | |
parent | d2aeed1648166d254ac68525c35b77dec4ba8772 (diff) | |
download | perl-b68c599a1231c4d11ec0b0a667ce0c407c357eab.tar.gz |
Fix the misplaced warnings and failing tests caused by the precision
loss warning on ++ and -- by moving the check to Configure time,
creating a new config.sh variable nv_overflows_integers_at which
contains an constant expression for the value of the NV which can't
be incremented by 1.0
p4raw-id: //depot/perl@33049
Diffstat (limited to 'win32')
-rw-r--r-- | win32/config.bc | 1 | ||||
-rw-r--r-- | win32/config.ce | 1 | ||||
-rw-r--r-- | win32/config.gc | 1 | ||||
-rw-r--r-- | win32/config.vc | 1 | ||||
-rw-r--r-- | win32/config.vc64 | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/win32/config.bc b/win32/config.bc index ec883a98d7..a2aa97953c 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -802,6 +802,7 @@ nvEUformat='"E"' nvFUformat='"F"' nvGUformat='"G"' nv_preserves_uv_bits='32' +nv_overflows_integers_at='256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0' nveformat='"e"' nvfformat='"f"' nvgformat='"g"' diff --git a/win32/config.ce b/win32/config.ce index 00dabcfe0b..b722e6a141 100644 --- a/win32/config.ce +++ b/win32/config.ce @@ -775,6 +775,7 @@ nm_so_opt='' nonxs_ext='Errno' nroff='' nv_preserves_uv_bits='32' +nv_overflows_integers_at='256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0' nveformat='"e"' nvfformat='"f"' nvgformat='"g"' diff --git a/win32/config.gc b/win32/config.gc index 5e6267886f..4c932cddf1 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -802,6 +802,7 @@ nvEUformat='"E"' nvFUformat='"F"' nvGUformat='"G"' nv_preserves_uv_bits='32' +nv_overflows_integers_at='256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0' nveformat='"e"' nvfformat='"f"' nvgformat='"g"' diff --git a/win32/config.vc b/win32/config.vc index 3c58cdcf34..3f9be6d2d4 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -802,6 +802,7 @@ nvEUformat='"E"' nvFUformat='"F"' nvGUformat='"G"' nv_preserves_uv_bits='32' +nv_overflows_integers_at='256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0' nveformat='"e"' nvfformat='"f"' nvgformat='"g"' diff --git a/win32/config.vc64 b/win32/config.vc64 index 6680911655..c88143946e 100644 --- a/win32/config.vc64 +++ b/win32/config.vc64 @@ -802,6 +802,7 @@ nvEUformat='"E"' nvFUformat='"F"' nvGUformat='"G"' nv_preserves_uv_bits='53' +nv_overflows_integers_at='256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0' nveformat='"e"' nvfformat='"f"' nvgformat='"g"' |