forked from qt-creator/qt-creator
Clang: Fix MSVC warning
C4273: 'OutputDebugStringW': inconsistent dll linkage Change-Id: Iee29998801f2cbc821acdfdfa919e74709e3383b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
6d7e5eb8d1
commit
b7d35fee82
@@ -57,7 +57,7 @@ QString processArguments(QCoreApplication &application)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
extern "C" void __stdcall OutputDebugStringW(const wchar_t* msg);
|
#include <windows.h>
|
||||||
static void messageOutput(QtMsgType type, const QMessageLogContext &/*context*/,
|
static void messageOutput(QtMsgType type, const QMessageLogContext &/*context*/,
|
||||||
const QString &msg)
|
const QString &msg)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user