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, 1 Nov 2017 14:46:16 +0000

On 1 Nov 2017, at 14:11, Lobron, David <dlobron@akamai.com> wrote:
> 
> Thanks very much, David- this is extremely helpful!  As you might expect, my 
> code was running perfectly on the Mac, but crashing on Linux- this explains 
> both.
> 
> Just to make sure I understand, can you tell me exactly where to specify 
> -fobjc-runtime=gnustep-1.8?  Would that be an argument when building 
> llvm/clang, or libobjc2, or both?

When building your ObjC++ code (and, ideally, when building GNUstep and all of 
your ObjC code).  The libobjc2 build system ought to be setting it (it might 
not, but I think it does if the compiler is clang).

David




reply via email to

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