aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-04-12 09:02:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-04-12 09:02:33 +0200
commit1aecf78130e2fbe24e54c8e47cfa0f1670e0dd5e (patch)
tree9dc932cc533c73987caf42f1a6aa244b998e0994
parent755c3ed6e831c2934c10f47e804a964be893625b (diff)
Mark non-BC changes for future
-rw-r--r--build2/dist/module.cxx8
-rw-r--r--build2/install/module.cxx2
2 files changed, 4 insertions, 6 deletions
diff --git a/build2/dist/module.cxx b/build2/dist/module.cxx
index 2a7ba92..5ae05a4 100644
--- a/build2/dist/module.cxx
+++ b/build2/dist/module.cxx
@@ -97,7 +97,7 @@ namespace build2
{
const value& cv (config::optional (r, "config.dist.root"));
- if (cv && !cv.empty ())
+ if (cv && !cv.empty ()) // @@ BC LT [null]
v = cast<dir_path> (cv); // Strip abs_dir_path.
}
}
@@ -112,11 +112,9 @@ namespace build2
const value& cv (
config::required (r, "config.dist.cmd", path ("install")).first);
- if (cv && !cv.empty ())
+ if (cv && !cv.empty ()) // @@ BC LT [null]
v = cv;
}
- else
- v = path ("install");
}
// dist.archives
@@ -128,7 +126,7 @@ namespace build2
{
const value& cv (config::optional (r, "config.dist.archives"));
- if (cv && !cv.empty ())
+ if (cv && !cv.empty ()) // @@ BC LT [null]
v = cv;
}
}
diff --git a/build2/install/module.cxx b/build2/install/module.cxx
index 2a4d164..ddc6640 100644
--- a/build2/install/module.cxx
+++ b/build2/install/module.cxx
@@ -66,7 +66,7 @@ namespace build2
if (spec)
{
- if (*cv && !cv->empty ())
+ if (*cv && !cv->empty ()) // @@ BC LT [null]
v = cast<T> (*cv); // Strip CT to T.
}
else