diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-06-28 13:00:14 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-07-01 15:46:53 +0300 |
commit | ec7b7e37ce97d25adc209befb2c12cf16eb06ef1 (patch) | |
tree | bcb5b911b0d6579cf1d8c2e6ca4ac13383ca08f9 /build2/scope.cxx | |
parent | 86db4fb7388285adc24e3aa6eb3f7ec68efd15f4 (diff) |
Port to MSVC
Diffstat (limited to 'build2/scope.cxx')
-rw-r--r-- | build2/scope.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/scope.cxx b/build2/scope.cxx index c9a8ab9..0ef8de6 100644 --- a/build2/scope.cxx +++ b/build2/scope.cxx @@ -540,7 +540,9 @@ namespace build2 return r; } - constexpr const char derived_tt_ext_var[] = "extension"; + // VC 19 rejects constexpr. + // + extern const char derived_tt_ext_var[] = "extension"; pair<reference_wrapper<const target_type>, bool> scope:: derive_target_type (const string& name, const target_type& base) |