Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 915955 Details for
Bug 945956
games-strategy/0ad fails to compile with recent dev-libs/libfmt
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
7c07083724.patch (text/plain), 1.94 KB, created by
Christophe PEREZ
on 2025-01-05 20:27:46 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Christophe PEREZ
Created:
2025-01-05 20:27:46 UTC
Size:
1.94 KB
patch
obsolete
>From 7c07083724980af73f299c079f9040166120b1e4 Mon Sep 17 00:00:00 2001 >From: Stan <stan@wildfiregames.com> >Date: Wed, 31 May 2023 12:03:04 +0000 >Subject: [PATCH] Fix the removal of implicit conversions in libfmt 10 by using > explicit casts. > >Patch by: @phosit >Accepted by: @vladislavbelov >Comments by: @sera >Differential Revision: https://code.wildfiregames.com/D4998 >This was SVN commit r27657. >--- > source/network/NetMessage.cpp | 5 +++-- > source/simulation2/serialization/BinarySerializer.cpp | 2 +- > 2 files changed, 4 insertions(+), 3 deletions(-) > >diff --git a/source/network/NetMessage.cpp b/source/network/NetMessage.cpp >index 61126d8e1b..9515d939de 100644 >--- a/source/network/NetMessage.cpp >+++ b/source/network/NetMessage.cpp >@@ -1,4 +1,4 @@ >-/* Copyright (C) 2017 Wildfire Games. >+/* Copyright (C) 2023 Wildfire Games. > * This file is part of 0 A.D. > * > * 0 A.D. is free software: you can redistribute it and/or modify >@@ -216,7 +216,8 @@ CNetMessage* CNetMessageFactory::CreateMessage(const void* pData, > break; > > default: >- LOGERROR("CNetMessageFactory::CreateMessage(): Unknown message type '%d' received", header.GetType()); >+ LOGERROR("CNetMessageFactory::CreateMessage(): Unknown message type '%d' received", >+ static_cast<int>(header.GetType())); > break; > } > >diff --git a/source/simulation2/serialization/BinarySerializer.cpp b/source/simulation2/serialization/BinarySerializer.cpp >index c24b84bb2c..4a6b57d7a9 100644 >--- a/source/simulation2/serialization/BinarySerializer.cpp >+++ b/source/simulation2/serialization/BinarySerializer.cpp >@@ -52,7 +52,7 @@ static u8 GetArrayType(js::Scalar::Type arrayType) > case js::Scalar::Uint8Clamped: > return SCRIPT_TYPED_ARRAY_UINT8_CLAMPED; > default: >- LOGERROR("Cannot serialize unrecognized typed array view: %d", arrayType); >+ LOGERROR("Cannot serialize unrecognized typed array view: %d", static_cast<int>(arrayType)); > throw PSERROR_Serialize_InvalidScriptValue(); > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 945956
:
913432
|
913433
| 915955