[Prev][Next][Index]
handle more than one project
- Date: Tue, 18 Apr 1995 15:57:27 +0100
- From: Pif <lefebvre@molson.lifl.fr>
- To: sage-users@extreme.indiana.edu
- Subject: handle more than one project
- Sender: owner-sage-users@extreme.indiana.edu
Is someone has still have bugs while using more than one project.
I have strange results with a code like that :
int ParseFile( blabla )
{ char *proj_file;
... create a .proj whose name is in proj_file ...
{ SgProject &Proj= SgProject(proj_file);
SgFile &File= Proj.file(0);
blabla ... work on this project ... blabla
}
...
}
The first call to 'ParseFile' is OK, but next ones seem to use the first
project !
In this function, I run f2dep to create a .dep, I create an associated .proj
and then I work on it.
a File.unparsestdout() outputs good informations, but when I work on the
structure, I retrieve items of the first value of local variable 'Proj' !
If someone has an idea : HEEEEEEEEEELP !
Thanks, Pif.