diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2015-10-16 22:01:51 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2015-10-16 22:01:51 (GMT) |
commit | 0be7b0d5240d401398aafa0aa18f83faa635f286 (patch) | |
tree | 240ea74fd145b799115e601d60b8a92a3ea7ea69 /config/cmake/ConversionTests.c | |
parent | 60cdc22cd3f484dde11bfdf31833b351a616f138 (diff) | |
download | hdf5-0be7b0d5240d401398aafa0aa18f83faa635f286.zip hdf5-0be7b0d5240d401398aafa0aa18f83faa635f286.tar.gz hdf5-0be7b0d5240d401398aafa0aa18f83faa635f286.tar.bz2 |
[svn-r28113] A few warning fixes in cmake conversion tests
Diffstat (limited to 'config/cmake/ConversionTests.c')
-rw-r--r-- | config/cmake/ConversionTests.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/cmake/ConversionTests.c b/config/cmake/ConversionTests.c index d964bf8..b8946a8 100644 --- a/config/cmake/ConversionTests.c +++ b/config/cmake/ConversionTests.c @@ -1,5 +1,8 @@ #ifdef H5_LDOUBLE_TO_LONG_SPECIAL_TEST +#include <string.h> +#include <stdlib.h> + int main(void) { long double ld = 20041683600089727.779961L; @@ -58,6 +61,9 @@ done: #ifdef H5_LONG_TO_LDOUBLE_SPECIAL_TEST +#include <string.h> +#include <stdlib.h> + int main(void) { long double ld; @@ -117,6 +123,10 @@ done: #endif #ifdef H5_LDOUBLE_TO_LLONG_ACCURATE_TEST + +#include <string.h> +#include <stdlib.h> + int main(void) { long double ld = 20041683600089727.779961L; @@ -156,6 +166,10 @@ done: #endif #ifdef H5_LLONG_TO_LDOUBLE_CORRECT_TEST + +#include <string.h> +#include <stdlib.h> + int main(void) { long double ld; |