From 23d081ab21b1b9776117b14dd30e42af3652cf6a Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Wed, 1 Feb 2017 17:51:22 +0100 Subject: [PATCH] common: remove an old gcc workaround --- common/src/Utilities/Exceptions.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/common/src/Utilities/Exceptions.cpp b/common/src/Utilities/Exceptions.cpp index 2cde2b6f5e..f61cf7dc45 100644 --- a/common/src/Utilities/Exceptions.cpp +++ b/common/src/Utilities/Exceptions.cpp @@ -13,17 +13,6 @@ * If not, see . */ -// Avoid the following gcc error: -// Exceptions.cpp:133: error: inlining failed in call to always_inline ‘void pxOnAssert(const DiagnosticOrigin&, const char*)’: function not considered for inlining -// DEVASSERT_INLINE void pxOnAssert( const DiagnosticOrigin& origin, const char* msg) -// Exceptions.cpp:141: error: called from here -// pxOnAssert( origin, WX_STR(msg) ); // wc_str ??? -// -// Feel free to provide a better fix -#if defined(__linux__) && defined(NDEBUG) -#undef NDEBUG -#endif - #include "PrecompiledHeader.h" #include