Hello! I've done some more research on this particular bug.
> > > I have an impression that it has to do with the bug I previously reported
> > > (and someone here claimed he could reproduce it)
> >
> > Please provide a link to the Cygwin ML message; is it this, confirmed by
> > Takashi
> > Yano
Hello!
> Confirmed with clang++ 8
Good!
Meanwhile i've tried to investigate it myself a bit and here's some more info:
1. With clang 8 __cxa_throw() ends up in Windows RaiseException(); with clang
5 it simply doesn't make it there. I guess there's some problem with
interpreting unwind info.
On 2019-12-18 08:10, Pavel Fedin wrote:
> Well, it turned out more complicated than i thought. Here is the reduced
> reproducer:
> --- cut catch_test.cpp ---
> #include
> #include
> #include
> #include
> #include
>
> void from_file(const std::string &filepath, std::vector &data);
>
> int mai
0 exited with status 0x20474343
> --- cut ---
> So, a Windows exception is reported, then the whole thing silently quits.
> I have an impression that it has to do with the bug i previously reported
> (and someone here claimed he could reproduce it)
>
> Kind regards,
> Pavel
The problem maybe in ABI incompatibility with older C++ (not C++11-compliant)
run-time libraries:
In C++11 class inheritance for many standard exceptions has changed greatly, so
all the run-time
libraries must be recompiled to match the inheritance seen by the compiler in
the header files
(when
com [mailto:cygwin-ow...@cygwin.com] On Behalf Of
> Brian Inglis
> Sent: Wednesday, December 18, 2019 3:05 AM
> To: cygwin@cygwin.com
> Subject: Re: [BUG] try..catch does not work if compiled with clang 8.0
>
> On 2019-12-17 13:51, Csaba Ráduly wrote:
> > On 17/12/2019 17:29,
On 2019-12-17 13:51, Csaba Ráduly wrote:
> On 17/12/2019 17:29, Brian Inglis wrote:
>> On 2019-12-17 02:35, Pavel Fedin wrote:
>>> I haven't upgraded for a while and today i finally decided to do so. After
>>> rebuilding by project with clang++ 8.0 i found out that try...catch
>>> construct
>>> do
On 17/12/2019 17:29, Brian Inglis wrote:
On 2019-12-17 02:35, Pavel Fedin wrote:
I haven't upgraded for a while and today i finally decided to do so. After
rebuilding by project with clang++ 8.0 i found out that try...catch construct
doesn't work. The program just gets silently aborted.
Switched
On 2019-12-17 02:35, Pavel Fedin wrote:
> I haven't upgraded for a while and today i finally decided to do so. After
> rebuilding by project with clang++ 8.0 i found out that try...catch construct
> doesn't work. The program just gets silently aborted.
> Switched back to old clang++ 5.0 and it wor
Hello! I haven't upgraded for a while and today i finally decided to do so.
After rebuilding by project with clang++ 8.0 i found
out that try...catch construct doesn't work. The program just gets silently
aborted.
Switched back to old clang++ 5.0 and it works.
Also an old bug which i reported
10 matches
Mail list logo