From 30af663dfc7f152e208962fc033d46bd4c7b7cb2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 29 Jun 2022 16:38:24 +0200 Subject: Work around MSVC 14.3 issues --- libbuild2/cc/link-rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/cc') diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx index da9cca4..c4938c9 100644 --- a/libbuild2/cc/link-rule.cxx +++ b/libbuild2/cc/link-rule.cxx @@ -1614,7 +1614,7 @@ namespace build2 // Note also that the order in which we are adding these members // is important (see add_addhoc_member() for details). // - if (t.group->decl >= target_decl::implied + if (operator>= (t.group->decl, target_decl::implied) // @@ VC14 ? (ot == otype::a || !link_members (rs).a) : search_existing (ctx, ot == otype::a @@ -2799,7 +2799,7 @@ namespace build2 if (!m->is_a (la ? pca::static_type : pcs::static_type)) { - if (t.group->decl >= target_decl::implied + if (operator>= (t.group->decl, target_decl::implied) // @@ VC14 ? t.group->matched (a) : true) { -- cgit v1.1