Permalink
Browse files

common: remove an old gcc workaround

1 parent 6d7b1f9 commit 23d081ab21b1b9776117b14dd30e42af3652cf6a @gregory38 gregory38 committed Feb 1, 2017
Showing with 0 additions and 11 deletions.
  1. +0 −11 common/src/Utilities/Exceptions.cpp
@@ -13,17 +13,6 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
-// 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 <wx/app.h>

0 comments on commit 23d081a

Please sign in to comment.