make rbuild compile with gcc4

svn path=/trunk/; revision=15634
This commit is contained in:
Thomas Bluemel 2005-05-28 22:22:25 +00:00
parent 2db9bd4682
commit 12e17e01f0
4 changed files with 10 additions and 3 deletions

View file

@ -57,3 +57,9 @@ Backend::Backend ( Project& project,
configuration ( configuration )
{
}
Backend::~Backend()
{
delete &ProjectNode;
delete &configuration;
}

View file

@ -35,6 +35,8 @@ protected:
Configuration& configuration );
public:
virtual ~Backend();
virtual void Process () = 0;
Project& ProjectNode;
Configuration& configuration;

View file

@ -603,8 +603,7 @@ MingwBackend::GenerateXmlBuildFilesMacro() const
else
{
fprintf ( fMakefile,
" \\\n",
xmlbuildFilenames.c_str () );
" \\\n" );
}
xmlbuildFilenames.resize ( 0 );
}

View file

@ -47,7 +47,7 @@ class MingwBackend : public Backend
public:
MingwBackend ( Project& project,
Configuration& configuration );
virtual ~MingwBackend ();
~MingwBackend ();
virtual void Process ();
std::string AddDirectoryTarget ( const std::string& directory,
Directory* directoryTree );