Xcode operations aren't synchronous (was: Re: crashes after changing signatures of virtual functions / virtual inherited classes)
Xcode operations aren't synchronous (was: Re: crashes after changing signatures of virtual functions / virtual inherited classes)
- Subject: Xcode operations aren't synchronous (was: Re: crashes after changing signatures of virtual functions / virtual inherited classes)
- From: Steve Checkoway <email@hidden>
- Date: Fri, 4 Aug 2006 13:41:05 -0700
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:
This email sent to email@hidden