From b6c61ea9afd2d738711770e44748e48be009154d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 24 Sep 2020 13:10:25 +0200 Subject: Give hints for common causes of "no rule to update ..." error --- libbuild2/cc/common.txx | 2 +- libbuild2/cc/compile-rule.cxx | 4 ++-- libbuild2/cc/pkgconfig.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libbuild2/cc') diff --git a/libbuild2/cc/common.txx b/libbuild2/cc/common.txx index bfbc52c..ce922cc 100644 --- a/libbuild2/cc/common.txx +++ b/libbuild2/cc/common.txx @@ -24,7 +24,7 @@ namespace build2 path_cast (out.effect), name, move (ext), - true, // Implied. + target_decl::implied, trace)); assert (!exist || !p.second.owns_lock ()); diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx index 37daf76..d568883 100644 --- a/libbuild2/cc/compile-rule.cxx +++ b/libbuild2/cc/compile-rule.cxx @@ -5500,7 +5500,7 @@ namespace build2 dir_path (), // Always in the out tree. move (mf), nullopt, // Use default extension. - true, // Implied. + target_decl::implied, trace)); file& bt (static_cast (p.first)); @@ -5571,7 +5571,7 @@ namespace build2 dir_path (), // Always in the out tree. move (mf), nullopt, // Use default extension. - true, // Implied. + target_decl::implied, trace)); file& bt (static_cast (p.first)); diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx index 7e74c24..516746b 100644 --- a/libbuild2/cc/pkgconfig.cxx +++ b/libbuild2/cc/pkgconfig.cxx @@ -1152,7 +1152,7 @@ namespace build2 dir_path (), mf.base ().string (), mf.extension (), - true, // Implied. + target_decl::implied, trace)); target& mt (tl.first); -- cgit v1.1