Hi Mihai, > Am 31.01.2022 um 09:22 schrieb Mihai Barbos <[email protected]>: > > 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
