Remove the EM_LOG_DEMANGLE parameter from the call to emscripten_log
EM_LOG_DEMANGLE does nothing from emscripten 3.1.44 and is marked deprecated. Also, it doesn't work for strict mode functions as described in PR 19820, and needs the deprecated arguments.callee. Change-Id: I4d71f50caa75373253881c4153acbc6ab38fcf18 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io>
This commit is contained in:
parent
c0c9e43be1
commit
8703829d41
@ -1896,7 +1896,7 @@ static bool wasm_default_message_handler(QtMsgType type,
|
||||
return false; // Leave logging up to stderr handler
|
||||
|
||||
QString formattedMessage = qFormatLogMessage(type, context, message);
|
||||
int emOutputFlags = (EM_LOG_CONSOLE | EM_LOG_DEMANGLE);
|
||||
int emOutputFlags = EM_LOG_CONSOLE;
|
||||
QByteArray localMsg = message.toLocal8Bit();
|
||||
switch (type) {
|
||||
case QtDebugMsg:
|
||||
|
Loading…
x
Reference in New Issue
Block a user