• 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
Build fails with link errors after editing just one file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build fails with link errors after editing just one file?


  • Subject: Build fails with link errors after editing just one file?
  • From: Howard Moon <email@hidden>
  • Date: Thu, 19 Dec 2013 10:19:29 -0800

I'm getting link errors in a project in Xcode 3.2.6, but ONLY after I edit a single file and then do a Cmd+B build.  If I do a Clean and then a Build, it compiles and links fine.  But if I then edit one file (even if there is no change, just adding and removing a space and saving), and then do a Build, then the .o file for that source file drops in size from 181K to 288 bytes!  I'm wondering how that might happen.

One thing that might be entering into the mix that you probably couldn't address, and might be where the problem lies, unfortunately, is that there is a third-party pre-compiler in play here, which pre-processes all source files when doing a Build, for reasons I can't go into.  If that step is the problem, then obviously you won't be able to help me.

But, I wanted to check here in case anyone was familiar with a compiler setting or path or something else to look for that might cause this to happen. (I'm also in contact with the authors of that third-party compiler front-end, in case it's there that the problem lies.)

Thanks,
	Howard


 _______________________________________________
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: Build fails with link errors after editing just one file?
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: .dox file
  • Next by Date: Re: .dox file
  • Previous by thread: Re: Any way to get Xcode to auto-update profiles?
  • Next by thread: Re: Build fails with link errors after editing just one file?
  • Index(es):
    • Date
    • Thread