common: remove an old gcc workaround

This commit is contained in:
Gregory Hainaut 2017-02-01 17:51:22 +01:00
parent 6d7b1f9dbd
commit 23d081ab21
1 changed files with 0 additions and 11 deletions

View File

@ -13,17 +13,6 @@
* If not, see <http://www.gnu.org/licenses/>. * 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 "PrecompiledHeader.h"
#include <wx/app.h> #include <wx/app.h>