aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-10-27 16:25:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-10-27 16:25:42 +0200
commitceaad6480139e3c68af2e3d2dbe78588fcdc034f (patch)
treef741dd4506252d97edc4a6250b7db4abfd3cb7fa /bpkg/pkg-configure.cxx
parenta97b12a027546b37f66d3e08064f92f5539cf79e (diff)
Suppress (potential) bogus GCC 12 -Wrestrict warnings
Diffstat (limited to 'bpkg/pkg-configure.cxx')
-rw-r--r--bpkg/pkg-configure.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/pkg-configure.cxx b/bpkg/pkg-configure.cxx
index ae5aafd..20a2567 100644
--- a/bpkg/pkg-configure.cxx
+++ b/bpkg/pkg-configure.cxx
@@ -265,7 +265,7 @@ namespace bpkg
//
dir_path od (sp->effective_out_root (pdb.config));
vars.push_back ("config.import." + sp->name.variable () +
- "='" + od.representation () + "'");
+ "='" + od.representation () + '\'');
}
}
}
@@ -362,7 +362,7 @@ namespace bpkg
dir_path out_root (
p->external ()
? c / dir_path (p->name.string ())
- : c / dir_path (p->name.string () + "-" + p->version.string ()));
+ : c / dir_path (p->name.string () + '-' + p->version.string ()));
l4 ([&]{trace << "src_root: " << src_root << ", "
<< "out_root: " << out_root;});