aboutsummaryrefslogtreecommitdiff
path: root/build/cxx/link.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-24 15:35:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-24 15:35:32 +0200
commitbfc9613943bec9e2a0619e3e1ed1e83d0e51b5f4 (patch)
tree8cce7a86dd22f1733d81009c0c8f9d9414cb01e7 /build/cxx/link.cxx
parent32e45edacfdb7e77e448372bdcea18c782a8c51d (diff)
Ignore unknown prerequisite types in C++ link rule
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