discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Crash occurs when catching std::exception in Objective-C++ code comp


From: David Chisnall
Subject: Re: Crash occurs when catching std::exception in Objective-C++ code compiled with clang on Linux and using libobjc2
Date: Wed, 29 Nov 2017 10:52:51 +0000

On 29 Nov 2017, at 10:30, Richard Frith-Macdonald <address@hidden> wrote:
> 
> The -fgnu-runtime is for using the runtime that comes with the GNU compiler 
> (gcc).

More specifically, it is for telling GCC to use the runtime that comes with 
GCC.  If you wish to use the GCC runtime with clang, the correct flag is 
-fobjc-runtime=gcc (optionally with a version, though clang currently ignores 
the version because it doesn’t know of any changes to the GCC runtime ABI since 
clang shipped - I don’t think there are any). 

David




reply via email to

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