• 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: Universal binaries et al (Re: Adding zip functionality...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Universal binaries et al (Re: Adding zip functionality...)


  • Subject: Re: Universal binaries et al (Re: Adding zip functionality...)
  • From: Chris Espinosa <email@hidden>
  • Date: Sat, 18 Jun 2005 15:11:57 -0700


On Jun 18, 2005, at 6:45 AM, Rune Lindman wrote:

I recently moved a medium sized Carbon/PowerPlant project to Xcode and got it working fine with Mac OS X 10.4.

Now I'm trying to figure out how to target 10.2.8. Under target settings I add a rule for C files to be compiled with GCC 3.3 but it then generates errors (after compiling first 200 files ok).


internal compiler error: in simple_cst_equal, at tree.c:3344


UInt32                mCreatedDate;


void CIndexItem::SetCreatedDate(UInt32 inDate,Boolean changeFile)

{ <-- error here

    if(inDate != mCreatedDate)

    {

        mCreatedDate = inDate;

        mDirty = true;


        if(changeFile)

            ThrowIfError_(CFURL::SetCreatedDate(*this,inDate));

    }

}


Any clues?



You've apparently run into a gcc 3.3. bug that was fixed in gcc 4.0, and I would believe it is related to using a method call in the default value assignment in the declaration.

As we're unlikely to fix anything in 3.3 that works correctly in 4.0, you may have to work around this in your code.

Chris
 _______________________________________________
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: Universal binaries et al (Re: Adding zip functionality...)
      • From: Rune Lindman <email@hidden>
  • Prev by Date: Re: Xcode2.1: Making a stand-alone app.
  • Next by Date: Re: Xcode2.1: Making a stand-alone app.
  • Previous by thread: Re: Xcode2.1: Making a stand-alone app.
  • Next by thread: Re: Universal binaries et al (Re: Adding zip functionality...)
  • Index(es):
    • Date
    • Thread