aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/cxx/compile.cxx1
-rw-r--r--build/cxx/link.cxx12
2 files changed, 0 insertions, 13 deletions
diff --git a/build/cxx/compile.cxx b/build/cxx/compile.cxx
index 65806ed..ce921d2 100644
--- a/build/cxx/compile.cxx
+++ b/build/cxx/compile.cxx
@@ -45,7 +45,6 @@ namespace build
// @@ TODO:
//
// - check prerequisites: single source file
- // - check prerequisites: the rest are headers (other ignorable?)
// - if path already assigned, verify extension?
//
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