diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-01-31 13:11:59 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-01-31 13:11:59 +0300 |
commit | 4b7613b5bac8d54d369132cfaaefcc755310c207 (patch) | |
tree | 0c12a53e488fe71511ea0be3e17577f4c2cb8ff1 | |
parent | aca4d044103d6a67c5aaa9cabf2be1155199ccc5 (diff) |
Fix compile-time error when build with clang
-rw-r--r-- | bpkg/bpkg.cxx | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx index c1a4908..c674a44 100644 --- a/bpkg/bpkg.cxx +++ b/bpkg/bpkg.cxx @@ -389,19 +389,17 @@ init (const common_options& co, // @@ TODO: perhaps we should only do it for commands that need it? // { - using namespace build2; - // @@ TMP: pass proper values instead of dummies. // - init_diag (1); - init (nullptr, "bpkg" /*argv[0]*/); - - bin::build2_bin_load (); - cc::build2_cc_load (); - c::build2_c_load (); - cxx::build2_cxx_load (); - version::build2_version_load (); - in::build2_in_load (); + build2::init_diag (1); + build2::init (nullptr, "bpkg" /*argv[0]*/); + + build2::bin::build2_bin_load (); + build2::cc::build2_cc_load (); + build2::c::build2_c_load (); + build2::cxx::build2_cxx_load (); + build2::version::build2_version_load (); + build2::in::build2_in_load (); } return o; |