From e5c10827ed3b8db061b8655721f0f4e7542051f5 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 1 Jan 2022 18:01:01 +0100 Subject: [PATCH] expr: MSBuild: define GVDLL to ensure correct storage-class attributes An upcoming commit will change the storage-class attributes to be controlled by the GVDLL symbol in cdt.h. Without this change, errors like this would occur: expr.lib(y.tab.obj) : error LNK2001: unresolved external symbol _Dtset Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- lib/expr/expr.vcxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/expr/expr.vcxproj b/lib/expr/expr.vcxproj index bddfeb8f7..b3423fce7 100644 --- a/lib/expr/expr.vcxproj +++ b/lib/expr/expr.vcxproj @@ -52,7 +52,7 @@ Disabled $(ProjectDir);$(SolutionDir)windows\include;$(SolutionDir)lib;$(SolutionDir)lib\cdt;%(AdditionalIncludeDirectories) - NDEBUG;_LIB;WIN32_DLL;%(PreprocessorDefinitions) + NDEBUG;_LIB;GVDLL;WIN32_DLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -69,7 +69,7 @@ $(ProjectDir);$(SolutionDir)windows\include;$(SolutionDir)lib;$(SolutionDir)lib\cdt;%(AdditionalIncludeDirectories) - NDEBUG;_LIB;WIN32_DLL;%(PreprocessorDefinitions) + NDEBUG;_LIB;GVDLL;WIN32_DLL;%(PreprocessorDefinitions) Level4 true -- 2.40.0