[Sumover-dev] [svn commit] r3851 - rat/trunk

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Wed Sep 13 13:50:08 BST 2006


Author: ucacsva
Date: Wed Sep 13 13:49:31 2006
New Revision: 3851

Modified:
   rat/trunk/ratui.vcproj

Log:
Added STATIC_BUILD in preprocessor to get rid of MS Linker warnings. 

Tcl/Tk libraries need to be built with STATIC_BUILD on, otherwise a dll is assumed (defining __declspec(dllimport), thus causing the warnings in both Vic and Rat).

Modified: rat/trunk/ratui.vcproj
==============================================================================
--- rat/trunk/ratui.vcproj	(original)
+++ rat/trunk/ratui.vcproj	Wed Sep 13 13:49:31 2006
@@ -152,7 +152,7 @@
 				Name="VCCLCompilerTool"
 				Optimization="0"
 				AdditionalIncludeDirectories="..\common\src,..\tcl-8.0\generic,..\tk-8.0\generic,..\tk-8.0\xlib,\DDK\inc"
-				PreprocessorDefinitions="_WINDOWS;DEBUG;WIN32;_DEBUG;DEBUG_MEM;NEED_SNPRINTF"
+				PreprocessorDefinitions="STATIC_BUILD;_WINDOWS;DEBUG;WIN32;_DEBUG;DEBUG_MEM;NEED_SNPRINTF"
 				BasicRuntimeChecks="3"
 				RuntimeLibrary="5"
 				UsePrecompiledHeader="2"



More information about the Sumover-dev mailing list