diff -r dee5afe5301f -r 3f74d0d4af4c src/corelib/global/qglobal.cpp --- a/src/corelib/global/qglobal.cpp Mon Mar 15 12:43:09 2010 +0200 +++ b/src/corelib/global/qglobal.cpp Thu Apr 08 14:19:33 2010 +0300 @@ -1995,7 +1995,6 @@ qWarning("In file %s, line %d: Out of memory", n, l); } -#ifndef QT_NO_EXCEPTIONS /* \internal Allows you to throw an exception without including Called internally from Q_CHECK_PTR on certain OS combinations @@ -2004,7 +2003,6 @@ { QT_THROW(std::bad_alloc()); } -#endif /* The Q_ASSERT macro calls this function when the test fails.