aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-10-13 17:35:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-10-13 17:35:03 +0200
commit1f772024f31cbaaf44508a9495dd747f63e73e1f (patch)
treea0dac7a484195cc5679547dd1370c7fd4bf198f4 /libbuild2/scope.hxx
parent9f2aeed962408d907219511ed03b920320379afa (diff)
Work around Clang 6, 7 codegen issues
Diffstat (limited to 'libbuild2/scope.hxx')
-rw-r--r--libbuild2/scope.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/scope.hxx b/libbuild2/scope.hxx
index a02d865..7989d59 100644
--- a/libbuild2/scope.hxx
+++ b/libbuild2/scope.hxx
@@ -549,6 +549,8 @@ namespace build2
// when, for example, caching environment-sensitive information.
//
string environment_checksum;
+
+ root_extra_type (scope&, bool altn); // file.cxx
};
unique_ptr<root_extra_type> root_extra;
@@ -636,9 +638,8 @@ namespace build2
friend class scope_map;
friend class temp_scope;
- // These two from <libbuild2/file.hxx> set strong_.
+ // These from <libbuild2/file.hxx> set strong_.
//
- friend void setup_root_extra (scope&, optional<bool>&);
friend LIBBUILD2_SYMEXPORT void create_bootstrap_outer (scope&, bool);
friend LIBBUILD2_SYMEXPORT scope& create_bootstrap_inner (scope&,
const dir_path&);