summaryrefslogtreecommitdiffstats
path: root/test/dt_arith.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-03-27 20:50:44 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-03-27 20:50:44 (GMT)
commitc2472b4d006b6d036ec9e037fa5c677f71e9ac25 (patch)
tree76add37163afca6cdc73a6339d9ef3d27550078b /test/dt_arith.c
parent79f59eaf4dcf7a958881936d645c5c1a47484cd9 (diff)
downloadhdf5-c2472b4d006b6d036ec9e037fa5c677f71e9ac25.zip
hdf5-c2472b4d006b6d036ec9e037fa5c677f71e9ac25.tar.gz
hdf5-c2472b4d006b6d036ec9e037fa5c677f71e9ac25.tar.bz2
[svn-r26625] Description:
Bring r26543 from autotools_rework branch to trunk: Remove the LLONG_TO_LDOUBLE_CORRECT macro/define, it's working around bugs in very old SGI/FreeBSD/Windows compilers. Tested on: Linux/32 2.6.18 (jam) w/serial & parallel (Daily tested on branch for 2+ days)
Diffstat (limited to 'test/dt_arith.c')
-rw-r--r--test/dt_arith.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c
index 53536a4..c5b72d4 100644
--- a/test/dt_arith.c
+++ b/test/dt_arith.c
@@ -5032,32 +5032,8 @@ run_int_fp_conv(const char *name)
#endif
#endif /* H5_SIZEOF_LONG!=H5_SIZEOF_INT */
#if H5_SIZEOF_LONG_LONG!=H5_SIZEOF_LONG
-#if H5_LLONG_TO_LDOUBLE_CORRECT
nerrors += test_conv_int_fp(name, TEST_NORMAL, H5T_NATIVE_LLONG, H5T_NATIVE_LDOUBLE);
-#else /* H5_LLONG_TO_LDOUBLE_CORRECT */
- {
- char str[256]; /*hello string */
-
- HDsnprintf(str, sizeof(str), "Testing %s %s -> %s conversions",
- name, "long long", "long double");
- printf("%-70s", str);
- SKIPPED();
- HDputs(" Test skipped due to compiler error in handling conversion.");
- }
-#endif /* H5_LLONG_TO_LDOUBLE_CORRECT */
-#if H5_LLONG_TO_LDOUBLE_CORRECT
nerrors += test_conv_int_fp(name, TEST_NORMAL, H5T_NATIVE_ULLONG, H5T_NATIVE_LDOUBLE);
-#else /* H5_LLONG_TO_LDOUBLE_CORRECT */
- {
- char str[256]; /*hello string */
-
- HDsnprintf(str, sizeof(str), "Testing %s %s -> %s conversions",
- name, "unsigned long long", "long double");
- printf("%-70s", str);
- SKIPPED();
- HDputs(" Test skipped due to compiler not handling conversion.");
- }
-#endif /* H5_LLONG_TO_LDOUBLE_CORRECT */
#endif
#endif