From 6b9dbfaaf2b3dfdf3627b57c7f15c6a3cd105f35 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 27 Oct 2022 15:57:19 +0200 Subject: Suppress (potential) bogus GCC 12 -Wrestrict warnings --- libbuild2/parser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/parser.cxx') diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx index 76317fe..ed3b144 100644 --- a/libbuild2/parser.cxx +++ b/libbuild2/parser.cxx @@ -3260,7 +3260,7 @@ namespace build2 report = move (v); else throw invalid_argument ( - "expected 'false' or format name instead of '" + v + "'"); + "expected 'false' or format name instead of '" + v + '\''); } catch (const invalid_argument& e) { -- cgit v1.1