From 84e6c7e62c9d1613af3cad81787b3f277d276140 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 7 Nov 2022 15:46:13 +0200 Subject: Work around suspected GCC 12 mis-compilation (bug #107555) --- libbuild2/cc/compile-rule.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libbuild2/cc/compile-rule.hxx') diff --git a/libbuild2/cc/compile-rule.hxx b/libbuild2/cc/compile-rule.hxx index 563a953..cfe0dd7 100644 --- a/libbuild2/cc/compile-rule.hxx +++ b/libbuild2/cc/compile-rule.hxx @@ -130,10 +130,11 @@ namespace build2 optional inject_header (action, file&, const file&, timestamp, bool) const; - pair + void extract_headers (action, const scope&, file&, linfo, const file&, match_data&, - depdb&, bool&, timestamp, module_imports&) const; + depdb&, bool&, timestamp, module_imports&, + pair&) const; string parse_unit (action, file&, linfo, -- cgit v1.1