diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-05-17 05:42:31 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-05-17 05:42:31 (GMT) |
commit | 683cc579ea99564c4ce328614d645b10e00f1bc4 (patch) | |
tree | a95ebac16ed28ce68c630adb172bf9dedde76003 /test/big.c | |
parent | eddcc2f800db71d4c4309f74f57ed58ae7854727 (diff) | |
download | hdf5-683cc579ea99564c4ce328614d645b10e00f1bc4.zip hdf5-683cc579ea99564c4ce328614d645b10e00f1bc4.tar.gz hdf5-683cc579ea99564c4ce328614d645b10e00f1bc4.tar.bz2 |
Misc library test changes from develop.
Diffstat (limited to 'test/big.c')
-rw-r--r-- | test/big.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -69,7 +69,7 @@ # define GB8LL 0 /*cannot do the test*/ #endif -/* Define Small, Large, Extra Large, Huge File which +/* Define Small, Large, Extra Large, Huge File which * corrspond to less than 2GB, 2GB, 4GB, and tens of GB file size. * NO_FILE stands for "no file" to be tested. */ @@ -281,8 +281,7 @@ error: * 'name' in the code below, but early (4.4.7, at least) gcc only * allows diagnostic pragmas to be toggled outside of functions. */ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wformat-nonliteral" +H5_GCC_DIAG_OFF(format-nonliteral) static int enough_room(hid_t fapl) { @@ -323,7 +322,7 @@ done: return ret_value; } -#pragma GCC diagnostic pop +H5_GCC_DIAG_ON(format-nonliteral) /*------------------------------------------------------------------------- @@ -634,7 +633,7 @@ error: return 1; } /* end test_sec2() */ -static int +static int test_stdio(hid_t fapl) { char filename[1024]; |