Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode operations aren't synchronous (was: Re: crashes after changing signatures of virtual functions / virtual inherited classes)




On Aug 4, 2006, at 4:07 AM, Dair Grant wrote:

From this I assume that Xcode keeps multiple copies of source files in
memory, rather than sharing the same data between editors, and what was
sent to the compiler was the wrong copy.

The compiler driver (gcc) is passed file paths, not the contents of the files.


That would be consistent with the build failing, as the end result was
as if the (older) source in the embedded editor had been sent to the
compiler and the (newly saved) source in the stand-alone editor had not.

It would seem as though the save hadn't happened by this point.

I have lost work a couple of times to this, by making changes and saving
from the embedded editor (which then overwrites the file with the old
copy of the source) so I don't think it's that time sensitive (other
than the two editors getting out of sync).

I could see them getting out of sync and not realizing that one of them was dirty so it doesn't actually save. But obviously, I don't know for sure.


--
Steve Checkoway



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Re: crashes after changing signatures of virtual functions / virtual inherited classes (From: Dair Grant <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.