From patchwork Tue Jun 15 13:43:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alin-Gabriel Serdean X-Patchwork-Id: 1492244 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G48vQ6D5qz9s24 for ; Tue, 15 Jun 2021 23:54:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id D482B83C00; Tue, 15 Jun 2021 13:54:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6BMEYTwsFu-b; Tue, 15 Jun 2021 13:54:40 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp1.osuosl.org (Postfix) with ESMTPS id A767C83BFE; Tue, 15 Jun 2021 13:54:37 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 5CBBFC0022; Tue, 15 Jun 2021 13:54:37 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id B1346C000B for ; Tue, 15 Jun 2021 13:43:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id A02784021F for ; Tue, 15 Jun 2021 13:43:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9JXs0zcC65DC for ; Tue, 15 Jun 2021 13:43:24 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by smtp4.osuosl.org (Postfix) with ESMTPS id 3498D40022 for ; Tue, 15 Jun 2021 13:43:23 +0000 (UTC) Received: (Authenticated sender: aserdean@ovn.org) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id BD2BA2000F; Tue, 15 Jun 2021 13:43:19 +0000 (UTC) From: Alin Gabriel Serdean To: dev@openvswitch.org Date: Tue, 15 Jun 2021 16:43:08 +0300 Message-Id: <20210615134308.236-1-aserdean@ovn.org> X-Mailer: git-send-email 2.27.0.windows.1 MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 15 Jun 2021 13:54:35 +0000 Cc: Frank Wagner , Ilya Maximets Subject: [ovs-dev] [PATCH] datapath-windows: Specify external include paths X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" VStudio 16.10 adds usermode includes before including the driver kit ones. Bug tracked at: https://developercommunity.visualstudio.com/t/error-lnk2019-unresolved-external-symbol-stdio-com/1434674 Fixes appveyor build reported by forcing external includes. Reported-by: Ilya Maximets Reported-by: Frank Wagner Reported-at: https://github.com/openvswitch/ovs-issues/issues/209#issuecomment-861385852 Reported-at: https://github.com/openvswitch/ovs-issues/issues/211 Signed-off-by: Alin Gabriel Serdean Acked-by: Ilya Maximets --- datapath-windows/ovsext/ovsext.vcxproj | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/datapath-windows/ovsext/ovsext.vcxproj b/datapath-windows/ovsext/ovsext.vcxproj index d50a126b4..18f884f41 100644 --- a/datapath-windows/ovsext/ovsext.vcxproj +++ b/datapath-windows/ovsext/ovsext.vcxproj @@ -192,22 +192,39 @@ true + $(CRT_IncludePath);$(KM_IncludePath); true + $(CRT_IncludePath);$(KM_IncludePath); true ..\misc\DriverRecommendedRules.ruleset true + $(CRT_IncludePath);$(KM_IncludePath); true ..\misc\DriverRecommendedRules.ruleset + $(CRT_IncludePath);$(KM_IncludePath); true ..\misc\DriverRecommendedRules.ruleset + $(CRT_IncludePath);$(KM_IncludePath); + + + $(CRT_IncludePath);$(KM_IncludePath); + + + $(CRT_IncludePath);$(KM_IncludePath); + + + $(CRT_IncludePath);$(KM_IncludePath); + + + $(CRT_IncludePath);$(KM_IncludePath);