• 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
zib works in Dubug, not in Release
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

zib works in Dubug, not in Release


  • Subject: zib works in Dubug, not in Release
  • From: Trygve Inda <email@hidden>
  • Date: Tue, 31 Aug 2010 01:51:16 +0000
  • Thread-topic: zib works in Dubug, not in Release

I am uncompressing data with zlib:

err = uncompress( buffer, &bufferLength, (const Bytef*)data + sizeof( uLongf
), [self length] - sizeof( uLongf ) );


This works when I build a debug target, but not when I build a release
target.

I have verified the data sent into each target is the same. In Xcode when I
"build and Debug" the Release target (so that it runs in the debugger), it
works.

I am linking to zlib in both.

Any ideas?

Thanks,

Trygve


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: zib works in Dubug, not in Release
      • From: Trygve Inda <email@hidden>
  • Prev by Date: Re: Finding source of EXC_BREAKPOINT crash
  • Next by Date: Re: Simple instance [[alloc] init] question.
  • Previous by thread: Re: Simple instance [[alloc] init] question.
  • Next by thread: Re: zib works in Dubug, not in Release
  • Index(es):
    • Date
    • Thread