diff options
Diffstat (limited to 'test/error_test.c')
-rw-r--r-- | test/error_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/error_test.c b/test/error_test.c index 7c6cf9f..1408c46 100644 --- a/test/error_test.c +++ b/test/error_test.c @@ -329,7 +329,7 @@ long_desc_cb(unsigned H5_ATTR_UNUSED n, const H5E_error2_t *err_desc, void *clie * 'full_desc' in the code below, but early (4.4.7, at least) gcc only * allows diagnostic pragmas to be toggled outside of functions. */ -H5_GCC_DIAG_OFF(format-nonliteral) +H5_GCC_DIAG_OFF("format-nonliteral") static herr_t test_long_desc(void) { @@ -384,7 +384,7 @@ error: return -1; } /* end test_long_desc() */ -H5_GCC_DIAG_ON(format-nonliteral) +H5_GCC_DIAG_ON("format-nonliteral") /*------------------------------------------------------------------------- |