From 93eb8ef5cb75351d6d2ebb6adefb1e8fb6bb06c3 Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 24 Dec 2010 10:13:18 +0000 Subject: define __throw_exception_again to something, so that g++ -fno-exceptions does not throw warnings for stuff like if () __throw_exception_again; which does happen in its own fucking headers. builds of qt3 should no longer warn... okay millert@, no objection kettenis@ --- gnu/gcc/libstdc++-v3/libsupc++/exception_defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/gcc/libstdc++-v3/libsupc++/exception_defines.h b/gnu/gcc/libstdc++-v3/libsupc++/exception_defines.h index 446ed9466cb..765a052ae94 100644 --- a/gnu/gcc/libstdc++-v3/libsupc++/exception_defines.h +++ b/gnu/gcc/libstdc++-v3/libsupc++/exception_defines.h @@ -42,7 +42,7 @@ // Iff -fno-exceptions, transform error handling code to work without it. # define try if (true) # define catch(X) if (false) -# define __throw_exception_again +# define __throw_exception_again ((void)0) #else // Else proceed normally. # define __throw_exception_again throw -- cgit v1.2.3-59-g8ed1b