Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 899650 Details for
Bug 937599
app-text/doxygen-1.11.0 with dev-libs/libfmt-11: error: passing ‘const fmt::v11::formatter<QCString>’ as ‘this’ argument discards qualifiers [-fpermissive]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
doxygen-1.11.0-libfmt-11.patch
0001-Adjust-to-libfmt-11-changes.patch (text/plain), 4.39 KB, created by
Alfred Wingate
on 2024-08-09 00:24:33 UTC
(
hide
)
Description:
doxygen-1.11.0-libfmt-11.patch
Filename:
MIME Type:
Creator:
Alfred Wingate
Created:
2024-08-09 00:24:33 UTC
Size:
4.39 KB
patch
obsolete
>From f153b5ff2f005603f3ae5970c5ae8b912b1d818e Mon Sep 17 00:00:00 2001 >From: Alfred Wingate <parona@protonmail.com> >Date: Fri, 9 Aug 2024 03:00:05 +0300 >Subject: [PATCH] Adjust to libfmt-11 changes > >See-Also: https://github.com/fmtlib/fmt/commit/d70729215fba1d54862e407b626abf86ddf409bf >Signed-off-by: Alfred Wingate <parona@protonmail.com> >--- > src/trace.h | 21 ++++++++++----------- > 1 file changed, 10 insertions(+), 11 deletions(-) > >diff --git a/src/trace.h b/src/trace.h >index f837709c8..52991cd11 100644 >--- a/src/trace.h >+++ b/src/trace.h >@@ -156,7 +156,7 @@ namespace fmt { template<typename T> struct formatter {}; } > //! adds support for formatting QCString > template<> struct fmt::formatter<QCString> : formatter<std::string> > { >- auto format(const QCString &c, format_context& ctx) { >+ auto format(const QCString &c, format_context& ctx) const { > return formatter<std::string>::format(c.str(), ctx); > } > }; >@@ -164,7 +164,7 @@ template<> struct fmt::formatter<QCString> : formatter<std::string> > //! adds support for formatting Protected > template<> struct fmt::formatter<Protection> : formatter<std::string> > { >- auto format(Protection prot, format_context& ctx) { >+ auto format(Protection prot, format_context& ctx) const { > std::string result="Unknown"; > switch (prot) > { >@@ -180,7 +180,7 @@ template<> struct fmt::formatter<Protection> : formatter<std::string> > //! adds support for formatting Specifier > template<> struct fmt::formatter<Specifier> : formatter<std::string> > { >- auto format(Specifier spec, format_context& ctx) { >+ auto format(Specifier spec, format_context& ctx) const { > std::string result="Unknown"; > switch (spec) > { >@@ -195,7 +195,7 @@ template<> struct fmt::formatter<Specifier> : formatter<std::string> > //! adds support for formatting MethodTypes > template<> struct fmt::formatter<MethodTypes> : formatter<std::string> > { >- auto format(MethodTypes mtype, format_context& ctx) { >+ auto format(MethodTypes mtype, format_context& ctx) const { > std::string result="Unknown"; > switch (mtype) > { >@@ -213,7 +213,7 @@ template<> struct fmt::formatter<MethodTypes> : formatter<std::string> > //! adds support for formatting RelatesType > template<> struct fmt::formatter<RelatesType> : formatter<std::string> > { >- auto format(RelatesType type, format_context& ctx) { >+ auto format(RelatesType type, format_context& ctx) const { > std::string result="Unknown"; > switch (type) > { >@@ -228,7 +228,7 @@ template<> struct fmt::formatter<RelatesType> : formatter<std::string> > //! adds support for formatting RelationShip > template<> struct fmt::formatter<Relationship> : formatter<std::string> > { >- auto format(Relationship relation, format_context& ctx) { >+ auto format(Relationship relation, format_context& ctx) const { > std::string result="Unknown"; > switch (relation) > { >@@ -243,7 +243,7 @@ template<> struct fmt::formatter<Relationship> : formatter<std::string> > //! adds support for formatting SrcLangExt > template<> struct fmt::formatter<SrcLangExt> : formatter<std::string> > { >- auto format(SrcLangExt lang, format_context& ctx) { >+ auto format(SrcLangExt lang, format_context& ctx) const { > std::string result="Unknown"; > switch (lang) > { >@@ -273,7 +273,7 @@ template<> struct fmt::formatter<SrcLangExt> : formatter<std::string> > //! adds support for formatting MemberType > template<> struct fmt::formatter<MemberType> : formatter<std::string> > { >- auto format(MemberType mtype, format_context& ctx) { >+ auto format(MemberType mtype, format_context& ctx) const { > std::string result="Unknown"; > switch (mtype) > { >@@ -301,7 +301,7 @@ template<> struct fmt::formatter<MemberType> : formatter<std::string> > //! adds support for formatting TypeSpecifier > template<> struct fmt::formatter<TypeSpecifier> : formatter<std::string> > { >- auto format(TypeSpecifier type, format_context& ctx) { >+ auto format(TypeSpecifier type, format_context& ctx) const { > return formatter<std::string>::format(type.to_string(),ctx); > } > }; >@@ -309,10 +309,9 @@ template<> struct fmt::formatter<TypeSpecifier> : formatter<std::string> > //! adds support for formatting EntryType > template<> struct fmt::formatter<EntryType> : formatter<std::string> > { >- auto format(EntryType type, format_context& ctx) { >+ auto format(EntryType type, format_context& ctx) const { > return formatter<std::string>::format(type.to_string(),ctx); > } > }; > >- > #endif // TRACE_H >-- >2.45.2 >
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 937599
:
899647
|
899648
|
899649
| 899650