From 8e69e09b7ec68377758c63092f9b254e95a0d7be Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 1 Aug 2019 16:10:01 +0300 Subject: Fix linkage failure due to inline functions defined in libbuild2/algorithm.ixx and referred from libbuild2/target.txx --- libbuild2/target.hxx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'libbuild2/target.hxx') diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx index cfbd9bc..6d320d4 100644 --- a/libbuild2/target.hxx +++ b/libbuild2/target.hxx @@ -36,8 +36,11 @@ namespace build2 // From . // - const target& search (const target&, const prerequisite&); - const target* search_existing (const prerequisite&); + LIBBUILD2_SYMEXPORT const target& + search (const target&, const prerequisite&); + + LIBBUILD2_SYMEXPORT const target* + search_existing (const prerequisite&); // Recipe. // @@ -278,7 +281,7 @@ namespace build2 public: // Normally you should not call this function directly and rather use - // resolve_members() from algorithm.hxx. + // resolve_members() from . // virtual group_view group_members (action) const; @@ -469,7 +472,7 @@ namespace build2 static size_t count_executed () {return offset_executed + count_base ();} static size_t count_busy () {return offset_busy + count_base ();} - // Inner/outer operation state. See operation.hxx for details. + // Inner/outer operation state. See for details. // class LIBBUILD2_SYMEXPORT opstate { @@ -480,7 +483,7 @@ namespace build2 // operation. It is incremented during match and then decremented during // execution, before running the recipe. As a result, the recipe can // detect the last chance (i.e., last dependent) to execute the command - // (see also the first/last execution modes in ). + // (see also the first/last execution modes in ). // mutable atomic_count dependents {0}; -- cgit v1.1