Re: App crashes when launched from finder, but not when launched from debugger or command line
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