Opened 4 years ago
Last modified 4 years ago
#5646 closed defect
format.h is bugged — at Version 3
Reported by: | Silier | Owned by: | adrian |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 24 |
Component: | Build & Packages | Keywords: | |
Cc: | Patch: |
Description (last modified by )
fmt::internal::CharTraits<char>::convert': cannot access private member declared
that basically means one cannot use wstring and pass it to LOGWARNING or similar calls, where conversion is needed.
Issue have been fixed, but we have outdated version: https://github.com/fmtlib/fmt/issues/117 File itself is available here: https://github.com/fmtlib/fmt/blob/master/include/fmt/format.h
One cannot simply download and replace the file, because there have been done modifications to our version of file, so they need to be done in new version of file too.
Command to reproduce:
LOGWARNING("Passed wrong value %ls", L"wstring");
Change History (3)
comment:1 by , 4 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 4 years ago
comment:3 by , 4 years ago
Description: | modified (diff) |
---|
@Angen could you say how to reproduce this bug?
I put LOGWARNING(L"warning") and LOGWARNING(std::wstring("warning")) in some file and I received completely different compiler errors like followings: