Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Made dummy BreakIntoDebugger() macro an inline function to avoid compiler warning

Commit
7fe330f07851b466d8cb3dce8ba856e961cdea96
Author
Phil Nash ·
Parents
a691e69dae7b

Files · Download .tar.gz

Changes

 internal/catch_debugger.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/internal/catch_debugger.hpp b/internal/catch_debugger.hpp
index 5623e48e..86cab81f 100644
--- a/internal/catch_debugger.hpp
+++ b/internal/catch_debugger.hpp
@@ -77,7 +77,7 @@
             #define BreakIntoDebugger() if( Catch::AmIBeingDebugged() ) {__asm__("int $3\n" : : );}
         #endif
     #else
-        #define BreakIntoDebugger()
+        inline void BreakIntoDebugger(){}
     #endif
 
 #elif defined(__WIN32__) && defined(_MSC_VER)