Index: test/dt_arith.c =================================================================== --- test/dt_arith.c.orig +++ test/dt_arith.c @@ -3497,6 +3497,7 @@ error: else if(run_test==TEST_DENORM || run_test==TEST_SPECIAL) return 1; #endif + return 1; } Index: tools/h5ls/h5ls.c =================================================================== --- tools/h5ls/h5ls.c.orig +++ tools/h5ls/h5ls.c @@ -2528,7 +2528,7 @@ out: * *------------------------------------------------------------------------- */ -static void +static void __attribute__((__noreturn__)) leave(int ret) { h5tools_close(); Index: tools/h5dump/h5dump.c =================================================================== --- tools/h5dump/h5dump.c.orig +++ tools/h5dump/h5dump.c @@ -208,7 +208,7 @@ static struct long_options l_opts[] = { * *------------------------------------------------------------------------- */ -static void +static void __attribute__((__noreturn__)) leave(int ret) { h5tools_close(); Index: tools/h5copy/h5copy.c =================================================================== --- tools/h5copy/h5copy.c.orig +++ tools/h5copy/h5copy.c @@ -56,7 +56,7 @@ char *str_flag = NULL; * *------------------------------------------------------------------------- */ -static void +static void __attribute__((__noreturn__)) leave(int ret) { if (fname_src) Index: tools/misc/h5mkgrp.c =================================================================== --- tools/misc/h5mkgrp.c.orig +++ tools/misc/h5mkgrp.c @@ -60,7 +60,7 @@ param_t params; /* Command l * *------------------------------------------------------------------------- */ -static void +static void __attribute__((__noreturn__)) leave(int ret) { int curr_group; Index: test/filter_fail.c =================================================================== --- test/filter_fail.c.orig +++ test/filter_fail.c @@ -409,4 +409,6 @@ error: nerrors, 1==nerrors?"":"S"); HDexit(1); } + + return 1; } Index: tools/h5stat/h5stat.c =================================================================== --- tools/h5stat/h5stat.c.orig +++ tools/h5stat/h5stat.c @@ -223,7 +223,7 @@ static struct long_options l_opts[] = { { NULL, 0, '\0' } }; -static void +static void __attribute__((__noreturn__)) leave(int ret) { h5tools_close();