• 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: App crashes when launched from finder, but not when launched from debugger or command line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App crashes when launched from finder, but not when launched from debugger or command line


  • Subject: Re: App crashes when launched from finder, but not when launched from debugger or command line
  • From: "Shawn Erickson" <email@hidden>
  • Date: Tue, 18 Nov 2008 08:56:55 -0800

On Tue, Nov 18, 2008 at 8:20 AM, Andy Lee <email@hidden> wrote:
> On Nov 18, 2008, at 5:14 AM, Rick Mann wrote:
>>
>> I was failing to initialize a member to null,
>
> I thought C++ had warnings (or even errors) to prevent the use of
> uninitialized variables (members or otherwise)?  Or am I misunderstanding
> the error?  Or misunderstanding C++?

Ir isn't an aspect of the language so much as an aspect of the
compiler. You of course have to enable the additional warnings
depending on compiler defaults and sometime certain warnings require
"release" builds that use the optimizer so it has sufficient
information to detect such issues.

look for -Wuninitialized on the following page...

http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

-Shawn
 _______________________________________________
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: App crashes when launched from finder, but not when launched from debugger or command line (From: Greg Guerin <email@hidden>)
 >Re: App crashes when launched from finder, but not when launched from debugger or command line (From: Jack Repenning <email@hidden>)
 >Re: App crashes when launched from finder, but not when launched from debugger or command line (From: Rick Mann <email@hidden>)
 >Re: App crashes when launched from finder, but not when launched from debugger or command line (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: App crashes when launched from finder, but not when launched from debugger or command line
  • Next by Date: Re: how to stop outline view displaying tooltip?
  • Previous by thread: Re: App crashes when launched from finder, but not when launched from debugger or command line
  • Next by thread: Re: App crashes when launched from finder, but not when launched from debugger or command line
  • Index(es):
    • Date
    • Thread