mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r28113] A few warning fixes in cmake conversion tests
This commit is contained in:
parent
60cdc22cd3
commit
0be7b0d524
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user