On Tue, 22 Apr 2025 12:12:08 -0700 (PDT)
Jeremy Drake wrote:
> On Tue, 22 Apr 2025, Takashi Yano via Cygwin-apps wrote:
> 
> > > 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?
> 
> #include <iostream>
> 
> int main() {
>     std::cout << "Hello" << std::endl;
>     return 0;
> }

Thanks. But In my environment, it works as expected.

$ clang++ hello.cc
$ ./a.exe
Hello
$

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

Reply via email to