Re: Removing ARC code from executable
Re: Removing ARC code from executable
- Subject: Re: Removing ARC code from executable
- From: Scott Ribe <email@hidden>
- Date: Sat, 21 Sep 2013 07:57:27 -0600
On Sep 20, 2013, at 8:06 PM, Peter C <email@hidden> wrote:
> Now some of the projects are required to be protected/encrypted by a third party security software, protection via dongle. However the app crashed when the executable is encrypted. If the compiler is switch to gcc, it is all running well after encryption.
The first thing I would suspect is a classic kind of bug in their code (or perhaps yours), depending on the order of initialization of static/global variables. That order is undefined, so a change in compilers, or change in settings, or adding/removing from a project can change the order. If initialization of one static var uses the value of a second one, and the second one has not yet been initialized...
But we'd know more with a stack trace.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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