From 7c0629063ef64b6c7732e7ac94a6ecefcda4d828 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 3 Nov 2023 10:35:16 +0200 Subject: Work around lack of definition for static constexpr some more --- libbuild2/install/rule.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libbuild2/install/rule.cxx b/libbuild2/install/rule.cxx index 985f914..873b2e9 100644 --- a/libbuild2/install/rule.cxx +++ b/libbuild2/install/rule.cxx @@ -293,7 +293,8 @@ namespace build2 action, const target& t, const prerequisite& p, match_extra&) const { - pair r (nullptr, match_extra::all_options); + const uint64_t options (match_extra::all_options); // No definition. + pair r (nullptr, options); // The same logic as in file_rule::filter() below. // @@ -408,7 +409,8 @@ namespace build2 action, const target& t, const prerequisite& p, match_extra&) const { - pair r (nullptr, match_extra::all_options); + const uint64_t options (match_extra::all_options); // No definition. + pair r (nullptr, options); // See also group_rule::filter() with identical semantics. // -- cgit v1.1