From a4d5263f912ccc1397b8f5fc5278f22d2b1c8205 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 22 Jul 2017 22:48:02 +0200 Subject: Increase target data pad size --- build2/cc/compile.cxx | 4 ++-- build2/target.hxx | 2 +- 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::type data_pad; mutable void (*data_dtor) (void*) = nullptr; -- cgit v1.1