From 38f9e824fb9402dd018246fbb02f095100b0298b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 21 Apr 2022 10:17:21 +0200 Subject: Work around bogus -Wrestrict in GCC 12 (GCC bug #105329) --- bpkg/cfg-create.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/cfg-create.cxx') diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx index c31b197..86ce5da 100644 --- a/bpkg/cfg-create.cxx +++ b/bpkg/cfg-create.cxx @@ -122,7 +122,7 @@ namespace bpkg { // Assemble the build2 create meta-operation parameters. // - string params ("'" + c.representation () + "'"); + string params ('\'' + c.representation () + '\''); if (!mods.empty ()) { params += ','; -- cgit v1.1