• 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
BugReport: Build after changing build config compiles old code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BugReport: Build after changing build config compiles old code


  • Subject: BugReport: Build after changing build config compiles old code
  • From: Heath Raftery <email@hidden>
  • Date: Tue, 20 Sep 2005 22:18:24 +1000

Hey list,

I tried to file this bug using BugReporter, but got this error, depending on which Component/Product I selected: "The default assignee of the DTS component , version All, does not have a Radar account. Please choose another component.". I seem to recall this may be because I only have a student account. I'll try my luck here instead:


Versions: Mac OS X 10.4.2 (8C46). XCode V2.1, IDE: 621.0, Core: 620.0, ToolSupport: 610.0


I have an Xcode project with two targets and often build both using the Deployment and Development build configurations. The steps which usually lead to the problem go like this:

1. Make some changes (with errors) to the source. Build using the current config. Build fails.
2. Fix the errors in the source, save the files, and build again. Build succeeds.
3. Switch immediately to the other build configuration (in the Build window) and build again.
4. Build fails due to old errors in source! Clicking the error shows the corrected source file, at the location of the old error.
5. Build again without doing anything else and build succeeds.


Since I save changes to a source file, I'd like Xcode to compile the version on disk, regardless of the configuration I choose. The workaround is annoying but workable - what would be unacceptable is when the fixed errors in the source do not result in compile errors, and Xcode produces a build based on old code.

Regards,
Heath
_______________________________________________
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: BugReport: Build after changing build config compiles old code
      • From: Heath Raftery <email@hidden>
    • Re: BugReport: Build after changing build config compiles old code
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: xcode and fortran
  • Next by Date: static *char myStringArray[] init problem?
  • Previous by thread: Re: Forcing G++ for linking?
  • Next by thread: Re: BugReport: Build after changing build config compiles old code
  • Index(es):
    • Date
    • Thread