Ok in order to compile it needs to save my project but look at this example:
I open an existing project, a very simple console application:
program project1;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes
{ add your units here };
begin
end.
------------
Then I modify it:
program project1;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes
{ add your units here };
begin
* writeln('Hello world!');*
end.
I compile it and I close lazarus. Lazarus doesn't ask me anything. I
open again my project and I have the second version while I want the
first one because I never said to lazarus to save my modified project.
If I perform the same steps in Delphi when I close my project Delphi
asks me if I want to save my project and if I say 'no' when I open my
project again I have the first version of my project.
My "problem" is, I have a big project, with many units, I make a lot of
modifications daily, I want to test if everything works as I want, so I
compile my project many times in a day.
I don't want that lazarus saves my project every time I compile it and I
don't want to make a manual backup of my project every time I modify it.
I want that lazarus saves my project only if I decide to save it and not
if I compile it.
Is it not possible to have the same behavior as in Delphi?
Thank you,
andrea
Vincent Snijders wrote:
Andrea Mauri schreef:
Lazarus saves my project every time I compile it.
Yes, it must do that, otherwise the compiler cannot compile it. The
compiler must access to the files on disk.
I open an existing project, I modify it, I compile it,
So all modifications are saved.
I close the project without saving it and saying to lazarus, when it
asks me, that I don't want to save.
The project is saved anyway with the modifications.
What modifications?
Lazarus last svn on winxp.
I'm doing something wrong?
I don't know.
Vincent
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
--
Andrea Mauri
PhD student - Chemical Sciences
Milano Chemometrics and QSAR Research Group
Department of Environmental Sciences
University of Milano-Bicocca
P.zza della Scienza, 1
20126 Milano - Italy
Tel: ++39 02 64482801
mailto:[EMAIL PROTECTED]