• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Try-catch broken in gcc4.0? (Solved)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Try-catch broken in gcc4.0? (Solved)


  • Subject: Re: Try-catch broken in gcc4.0? (Solved)
  • From: Walter <email@hidden>
  • Date: Fri, 26 May 2006 21:39:43 -0400
  • Thread-topic: Try-catch broken in gcc4.0? (Solved)

Thanks!

That was it.


On 5/26/06 10:42 AM, "Howard Hinnant" <email@hidden> wrote:

> On May 25, 2006, at 7:50 PM, Walter wrote:
>
>> I have a carbon app written in C++ that compiles & runs perfectly with
>> gcc3.3.  I tried upgrading to gcc4.0 and an exception that I throw
>> from my
>> framework is not caught in my application.  This causes my app to
>> exit.
>> Checking the stack trace shows that the exception should be caught but
>> isn't.
>>
>> I tried to make a small sample application & framework that does
>> the same
>> thing but it worked correctly.
>>
>> Is anyone else having similar issues?  Any suggestions?
>
> This can be caused if the exception is declared with hidden
> visibility (say by using default hidden visibility).  To fix either
> don't used hidden visibility by default (a command line or preference
> panel switch), or declare the exception type visible explicitly:
>
> class __attribute__ ((__visibility__("default"))) my_exception {...};
>
> -Howard
>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Try-catch broken in gcc4.0? (From: Howard Hinnant <email@hidden>)

  • Prev by Date: Re: Xcode 2.3: inconsistent local symbol count
  • Next by Date: Re: XCConfig file stoped working
  • Previous by thread: Re: Try-catch broken in gcc4.0?
  • Next by thread: Re: Try-catch broken in gcc4.0?
  • Index(es):
    • Date
    • Thread