6#include <QtCore/qlogging.h>
11#ifndef QT_NO_EXCEPTIONS
36# if defined(Q_CC_MSVC)
37 if (IsProcessorFeaturePresent(PF_FASTFAIL_AVAILABLE))
38 __fastfail(FAST_FAIL_FATAL_APP_EXIT);
40 RaiseFailFastException(
nullptr,
nullptr, 0);
44 TerminateProcess(GetCurrentProcess(), STATUS_FATAL_APP_EXIT);
102void qt_assert(
const char *assertion,
const char *
file,
int line)
noexcept
105 .
fatal(
"ASSERT: \"%s\" in file %s, line %d", assertion,
file,
line);
114 .
fatal(
"ASSERT failure in %s: \"%s\", file %s, line %d", where, what,
file,
line);
157 fputs(
"Out of memory", stderr);
158 fprintf(stderr,
" in %s, line %d\n",
n, l);
170#ifndef QT_NO_EXCEPTIONS
171 throw std::bad_alloc();
void void Q_DECL_COLD_FUNCTION void Q_DECL_COLD_FUNCTION void QT_MESSAGE_LOGGER_NORETURN Q_DECL_COLD_FUNCTION void fatal(const char *msg,...) const noexcept Q_ATTRIBUTE_FORMAT_PRINTF(2
Logs a fatal message specified with format msg.
Combined button and popup list for selecting options.
QT_BEGIN_NAMESPACE void qAbort()
void qt_assert_x(const char *where, const char *what, const char *file, int line) noexcept
void qt_check_pointer(const char *n, int l) noexcept
#define Q_UNREACHABLE_IMPL()