[Bug c++/125301] [modules] [MinGW] Multiple definition linker error for local static variables in exported inline functions
star-code at tuta dot com via Gcc-bugs <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125301
Chengfeng Xie <star-code at tuta dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |star-code at tuta dot com
--- Comment #2 from Chengfeng Xie <star-code at tuta dot com> ---
This bug also causes `std::println` to fail to compile on MinGW: multiple
definition of std::__format::__write_escaped_unicode using gcc(ucrt64) [1].
[1]: https://github.com/msys2/MINGW-packages/issues/25869