On Mon, 21 Apr 2025 23:17:32 -0700 (PDT)
Jeremy Drake wrote:
> Nice!  Please note that there are updated patches in MSYS2-packages/llvm
> which replace some of the 'hack' patches with more proper methods (which I
> opened PRs upstream for, but I've not gotten any replies to them yet).
> Also, there is an issue currently outstanding, for which I opened an
> upstream PR but I'm waiting for feedback on if that was the proper way to
> fix it or not.  (https://github.com/llvm/llvm-project/pull/136599).

Thanks for the information. I'll look at that.

> I've also seen a crash with a simple "Hello world" C++ iostreams program,
> only on Cygwin not MSYS2.  I suspect it is related to the C++11 ABI thing,
> but it is not worked around by defining the macro.  There should also be a

Could you let me know the code which crashes?

> big red warning that, due to the macro being defined, clang++ and g++
> compiled objects might not be able to link to each other if they try to
> pass std::strings (or possibly other stl objects) between them.

Ah, that might be. This probelm may also happen when dll is called from
the app compiled by g++ if the dll is built with clang++. This is more
likely to happen.

-- 
Takashi Yano <takashi.y...@nifty.ne.jp>

Reply via email to