• 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: STL behaving improperly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: STL behaving improperly


  • Subject: RE: STL behaving improperly
  • From: "Cianflone, Chris" <email@hidden>
  • Date: Fri, 21 Oct 2005 01:19:45 -0500
  • Thread-topic: STL behaving improperly

Title: RE: STL behaving improperly

This is a shot in the dark since you didn't give more info about "failing at runtime", but I found -fshort-enums was the culprit after much trial and error.  This had not been a problem in gcc 3, but became problematic in gcc 4.  And once I discovered this, I then saw the help text in Xcode:

Make enums only as large as needed for the range of possible values. [GCC_SHORT_ENUMS, -fshort-enums]

Warning: this setting generates code that may not binary compatible with code generated without this setting or with Mac OS X frameworks.

Chris

-------------
Chris Cianflone
MakeMusic, Inc.
www.makemusic.com


-----Original Message-----
From:   xcode-users-bounces+ccianflone=email@hidden on behalf of Souvik Bose
Sent:   Fri 10/21/2005 12:50 AM
To:     email@hidden
Cc:    
Subject:        STL behaving improperly

Hi,



STL code in our XCODE project is failing at runtime whereas the same
piece of code seems to work in other compilers especially CodeWarrior.
Are there any known issues on this? If so, then, is there any workaround
to this?



Any ideas are highly appreciated.



Thanks



 _______________________________________________
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

  • Follow-Ups:
    • Re: STL behaving improperly
      • From: Andreas Grosam <email@hidden>
  • Prev by Date: STL behaving improperly
  • Next by Date: Re: RESOLVED Re: dyld: (No such file or directory, errno =2)
  • Previous by thread: Re: STL behaving improperly
  • Next by thread: Re: STL behaving improperly
  • Index(es):
    • Date
    • Thread