From fbd3bd490a35c47410692ecf82c7ac8f9f0d216a Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 1 Jan 2022 18:01:01 +0100 Subject: [PATCH] sccmap: 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 cgraph.h. Without this change, errors like this would occur: sccmap.obj : error LNK2001: unresolved external symbol _Agdirected Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- cmd/tools/sccmap.vcxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/tools/sccmap.vcxproj b/cmd/tools/sccmap.vcxproj index 1cbb238ea..836718022 100644 --- a/cmd/tools/sccmap.vcxproj +++ b/cmd/tools/sccmap.vcxproj @@ -53,7 +53,7 @@ Disabled - _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + _DEBUG;_CONSOLE;GVDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -77,7 +77,7 @@ - NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + NDEBUG;_CONSOLE;GVDLL;%(PreprocessorDefinitions) Level4 true -- 2.40.0