aboutsummaryrefslogtreecommitdiff
path: root/build/cxx/link.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/cxx/link.cxx')
-rw-r--r--build/cxx/link.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/build/cxx/link.cxx b/build/cxx/link.cxx
index 1b900c2..4023105 100644
--- a/build/cxx/link.cxx
+++ b/build/cxx/link.cxx
@@ -346,7 +346,6 @@ namespace build
// @@ TODO:
//
- // - check prerequisites: object files, libraries
// - if path already assigned, verify extension?
//
// @@ Q:
@@ -393,17 +392,6 @@ namespace build
{
seen_lib = seen_lib || true;
}
- else if (p.is_a<h> () ||
- p.is_a<hxx> () ||
- p.is_a<ixx> () ||
- p.is_a<txx> () ||
- p.is_a<fsdir> ())
- ;
- else
- {
- level3 ([&]{trace << "unexpected prerequisite type " << p.type ();});
- return nullptr;
- }
}
// We will only chain a C source if there is also a C++ source or we