From ac94ad4994e1086fd6fe92fc6b6b740884836bc4 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 11 Dec 2021 15:29:24 +0100 Subject: [PATCH] sparse: MSBuild: define GVDLL to ensure correct storage-class attributes An upcoming commit that removes the common/globals.h symbols from the gvc.def file would otherwise cause errors like this: sparse.lib(DotIO.obj) : error LNK2001: unresolved external symbol _Verbose Towards https://gitlab.com/graphviz/graphviz/-/issues/2058. --- lib/sparse/gvsparse.vcxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sparse/gvsparse.vcxproj b/lib/sparse/gvsparse.vcxproj index 8b4938016..2dd003017 100644 --- a/lib/sparse/gvsparse.vcxproj +++ b/lib/sparse/gvsparse.vcxproj @@ -52,7 +52,7 @@ Disabled - _DEBUG;_LIB;%(PreprocessorDefinitions) + _DEBUG;_LIB;GVDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -66,7 +66,7 @@ - NDEBUG;_LIB;%(PreprocessorDefinitions) + NDEBUG;_LIB;GVDLL;%(PreprocessorDefinitions) Level4 true -- 2.40.0