aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/cc/compile.cxx4
-rw-r--r--build2/target.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx
index 2153205..6263120 100644
--- a/build2/cc/compile.cxx
+++ b/build2/cc/compile.cxx
@@ -129,11 +129,11 @@ namespace build2
translation_type type;
preprocessed pp = preprocessed::none;
+ bool touch = false; // Target needs to be touched.
+ timestamp mt = timestamp_unknown; // Target timestamp.
prerequisite_member src;
auto_rmfile psrc; // Preprocessed source, if any.
path dd; // Dependency database path.
- timestamp mt = timestamp_unknown; // Target timestamp.
- bool touch = false; // Target needs to be touched.
module_positions mods = {0, 0, 0};
};
diff --git a/build2/target.hxx b/build2/target.hxx
index 906d92d..b5863dc 100644
--- a/build2/target.hxx
+++ b/build2/target.hxx
@@ -576,7 +576,7 @@ namespace build2
//
// Note that the recipe may modify the data.
//
- static constexpr size_t data_size = sizeof (string) * 10;
+ static constexpr size_t data_size = sizeof (string) * 12;
mutable std::aligned_storage<data_size>::type data_pad;
mutable void (*data_dtor) (void*) = nullptr;