aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-29 14:17:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-29 14:17:30 +0200
commite5d4c47040e526f0302a53c75ccf1f8c3f5981a1 (patch)
tree04fbc5c0838952a002c42c83599f74cc5a0ee9cd /libbuild2/utility.hxx
parentbeedc17766c58799eae1919cb471f686b8286363 (diff)
Add forward declaration header for build state types
Diffstat (limited to 'libbuild2/utility.hxx')
-rw-r--r--libbuild2/utility.hxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/libbuild2/utility.hxx b/libbuild2/utility.hxx
index 1d5c7bb..43b556e 100644
--- a/libbuild2/utility.hxx
+++ b/libbuild2/utility.hxx
@@ -21,6 +21,7 @@
#include <unordered_set>
#include <libbuild2/types.hxx>
+#include <libbuild2/forward.hxx>
// "Fake" version values used during bootstrap.
//
@@ -157,8 +158,6 @@ namespace build2
LIBBUILD2_SYMEXPORT extern optional<path> config_sub; // --config-sub
LIBBUILD2_SYMEXPORT extern optional<path> config_guess; // --config-guess
- class location;
-
LIBBUILD2_SYMEXPORT void
check_build_version (const standard_version_constraint&, const location&);
@@ -502,8 +501,6 @@ namespace build2
//
// If excl is not NULL, then filter this option out (note: case sensitive).
//
- struct variable;
-
template <typename T>
void
append_options (cstrings&, T&, const variable&, const char* excl = nullptr);
@@ -530,9 +527,6 @@ namespace build2
// As above but from the strings value directly.
//
- class value;
- struct lookup;
-
LIBBUILD2_SYMEXPORT void
append_options (cstrings&, const lookup&, const char* excl = nullptr);