This fixes building in C++17 mode, with errors like: ../testcases/t_trycatch.cpp:3:18: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 3 | void foo (int d) throw (int) | ^~~~~~~~~~~
Signed-off-by: Martin Storsjö <mar...@martin.st> --- mingw-w64-crt/testcases/t_trycatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-crt/testcases/t_trycatch.cpp b/mingw-w64-crt/testcases/t_trycatch.cpp index 96a46eac2..9087d9c49 100644 --- a/mingw-w64-crt/testcases/t_trycatch.cpp +++ b/mingw-w64-crt/testcases/t_trycatch.cpp @@ -1,6 +1,6 @@ #include <stdio.h> -void foo (int d) throw (int) +void foo (int d) { throw (d); } -- 2.43.0 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public