From: Steinar H. Gunderson Date: Sun, 20 Jan 2013 01:11:53 +0000 (+0100) Subject: Ask Google Test not to use exceptions. X-Git-Tag: 1.0~150 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=ad27ef8410ceeabbadd57ace746867f04337844b;hp=38dfb378427d1c97113ad7644c39f7695be84c49 Ask Google Test not to use exceptions. Gives us slightly cleaner shutdown on error. Found by Coverity Scan. --- diff --git a/gtest_sdl_main.cpp b/gtest_sdl_main.cpp index 4a1c747..21c923a 100644 --- a/gtest_sdl_main.cpp +++ b/gtest_sdl_main.cpp @@ -1,3 +1,5 @@ +#define GTEST_HAS_EXCEPTIONS 0 + #include #include "gtest/gtest.h"