You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{fmt} requires a C++ compiler reasonably compliant with the standard. There are no plans to bring this hack back but you might be able to workaround the issue in C++/CLI by overriding FMT_BEGIN_NAMESPACE / FMT_END_NAMESPACE. I also recommend reporting a bug to Microsoft.
What I found, when a C++/CLI project was referencing another CLI assembly, that also uses fmt, I got the error.
Compiling without the referenced assembly was fine.
"reopened" makes sense in that context, somehow the referenced project export the inline namespace, it's already there and you get clash.
If you in the referenced assembly encapsulate the fmt includes and calls within unmanaged sections, you can observe in ILSpy that those namespace are no longer exported, and the two projects builds and runs
#1897 fixed a problem because of which
fmt
didn't compile with MSVC and/clr
but 1aeed2d removed the workaround.8.0.1
seems to be the last version working with C++/CLIWhen using any newer version I get
Could a workaround be added again?
Thanks!
The text was updated successfully, but these errors were encountered: