diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-12-07 09:24:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-12-07 09:24:08 +0200 |
commit | f5e6c30650dbb135cb758431944f8d350eeee61e (patch) | |
tree | f73c26a8dbe549cb34335af3962f744c395c5171 /libbuild2/cc/common.hxx | |
parent | d4234c2c011d0fdcce6dc9006741373f048db942 (diff) |
C++20 named modules support for MSVC, take 2
Diffstat (limited to 'libbuild2/cc/common.hxx')
-rw-r--r-- | libbuild2/cc/common.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/cc/common.hxx b/libbuild2/cc/common.hxx index d7caeb9..6347005 100644 --- a/libbuild2/cc/common.hxx +++ b/libbuild2/cc/common.hxx @@ -165,6 +165,7 @@ namespace build2 // Cached values for some commonly-used variables/values. // + const compiler_id& cid; // x.id compiler_type ctype; // x.id.type const string& cvariant; // x.id.variant compiler_class cclass; // x.class @@ -278,8 +279,7 @@ namespace build2 const char* compile, const char* link, const char* install, - compiler_type ct, - const string& cv, + const compiler_id& ci, compiler_class cl, uint64_t mj, uint64_t mi, uint64_t vmj, uint64_t vmi, @@ -305,7 +305,7 @@ namespace build2 x_compile (compile), x_link (link), x_install (install), - ctype (ct), cvariant (cv), cclass (cl), + cid (ci), ctype (ci.type), cvariant (ci.variant), cclass (cl), cmaj (mj), cmin (mi), cvmaj (vmj), cvmin (vmi), cpath (path), cmode (mode), |