LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File qfatal-noreturn.diff of Package libqt4 (Project KDE:Qt)

Index: src/corelib/global/qglobal.h
===================================================================
--- src/corelib/global/qglobal.h.orig
+++ src/corelib/global/qglobal.h
@@ -1772,6 +1772,7 @@ Q_CORE_EXPORT void qCritical(const char
 Q_CORE_EXPORT void qFatal(const char *, ...) /* print fatal message and exit */
 #if defined(Q_CC_GNU) && !defined(__INSURE__)
     __attribute__ ((format (printf, 1, 2)))
+    __attribute__ ((noreturn))
 #endif
 ;