discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failure to compile a Windows application


From: Frederik Seiffert
Subject: Re: Failure to compile a Windows application
Date: Mon, 31 Jan 2022 10:29:14 +0100

Hi Mihai,

Am 31.01.2022 um 09:22 schrieb Mihai Barbos <mihai.barbos@gmail.com>:

clang crashes probably when it encounters a "finallyā€¯. It looks like it's a known problem.
Without "finally" it compiles, but this is not an option.

Yes this is unfortunately a known issue in Clang on Windows, here are the relevant tickets in the LLVM project if you want to track them:
https://github.com/llvm/llvm-project/issues/51899
https://github.com/llvm/llvm-project/issues/43828 (related)

Unless you (re-)throw exceptions from your @catch block you should be able to just put the code from your @finally block below the @try/catch with the same result.


2. MinGW:

MinGW is currently not supported by libobjc2. You can follow the last attempts to get this working here (the missing piece is figuring out exception handling with MinGW):

https://github.com/gnustep/libobjc2/pull/190


Hope that helps!

Frederik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]