Author: tkreuzer
Date: Tue Dec 16 09:51:55 2008
New Revision: 38118
URL:
http://svn.reactos.org/svn/reactos?rev=38118&view=rev
Log:
Let rbuild throw an exception when an implicit module dependency (like mingw lib) cannot
be resolved instead of silently failing.
Modified:
trunk/reactos/tools/rbuild/module.cpp
Modified: trunk/reactos/tools/rbuild/module.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/module.cpp?re…
==============================================================================
--- trunk/reactos/tools/rbuild/module.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/rbuild/module.cpp [iso-8859-1] Tue Dec 16 09:51:55 2008
@@ -1454,6 +1454,14 @@
name(_name),
importedModule(_module.project.LocateModule(_name))
{
+ if ( !importedModule )
+ {
+ throw XMLInvalidBuildFileException (
+ "<internal>",
+ "module '%s' trying to import non-existant module '%s'",
+ module.name.c_str(),
+ name.c_str() );
+ }
}
void