mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 20:36:35 +00:00
make rbuild compile with gcc4
svn path=/trunk/; revision=15634
This commit is contained in:
parent
2db9bd4682
commit
12e17e01f0
4 changed files with 10 additions and 3 deletions
|
@ -57,3 +57,9 @@ Backend::Backend ( Project& project,
|
||||||
configuration ( configuration )
|
configuration ( configuration )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Backend::~Backend()
|
||||||
|
{
|
||||||
|
delete &ProjectNode;
|
||||||
|
delete &configuration;
|
||||||
|
}
|
||||||
|
|
|
@ -35,6 +35,8 @@ protected:
|
||||||
Configuration& configuration );
|
Configuration& configuration );
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
virtual ~Backend();
|
||||||
|
|
||||||
virtual void Process () = 0;
|
virtual void Process () = 0;
|
||||||
Project& ProjectNode;
|
Project& ProjectNode;
|
||||||
Configuration& configuration;
|
Configuration& configuration;
|
||||||
|
|
|
@ -603,8 +603,7 @@ MingwBackend::GenerateXmlBuildFilesMacro() const
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fprintf ( fMakefile,
|
fprintf ( fMakefile,
|
||||||
" \\\n",
|
" \\\n" );
|
||||||
xmlbuildFilenames.c_str () );
|
|
||||||
}
|
}
|
||||||
xmlbuildFilenames.resize ( 0 );
|
xmlbuildFilenames.resize ( 0 );
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@ class MingwBackend : public Backend
|
||||||
public:
|
public:
|
||||||
MingwBackend ( Project& project,
|
MingwBackend ( Project& project,
|
||||||
Configuration& configuration );
|
Configuration& configuration );
|
||||||
virtual ~MingwBackend ();
|
~MingwBackend ();
|
||||||
virtual void Process ();
|
virtual void Process ();
|
||||||
std::string AddDirectoryTarget ( const std::string& directory,
|
std::string AddDirectoryTarget ( const std::string& directory,
|
||||||
Directory* directoryTree );
|
Directory* directoryTree );
|
||||||
|
|
Loading…
Reference in a new issue