VS 2008 fixes fixed to build Release

This commit is contained in:
Enno Rehling 2010-08-14 19:41:18 -07:00
parent 8554cbf48b
commit 68f04e66d1
7 changed files with 31 additions and 22 deletions

View File

@ -14,10 +14,13 @@ without prior permission by the authors of Eressea.
#include "bind_building.h" #include "bind_building.h"
#include "bind_unit.h" #include "bind_unit.h"
#include <kernel/config.h>
#include <kernel/unit.h> #include <kernel/unit.h>
#include <kernel/building.h> #include <kernel/building.h>
#include <kernel/region.h> #include <kernel/region.h>
#include <util/language.h>
#include <lua.h> #include <lua.h>
#include <tolua.h> #include <tolua.h>

View File

@ -42,16 +42,14 @@
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalOptions="/MP" AdditionalOptions="/MP"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories=".;../../external" AdditionalIncludeDirectories=".;..\..\external;..\..\external\libxml2\include;..\..\external\pdcurses;..\..\external\lua\src"
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE" PreprocessorDefinitions="LIBXML_STATIC;WIN32;_CRT_SECURE_NO_DEPRECATE"
MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
RuntimeLibrary="3" RuntimeLibrary="3"
EnableFunctionLevelLinking="true" EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="4" WarningLevel="4"
WarnAsError="true" WarnAsError="true"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4" DebugInformationFormat="4"
/> />
<Tool <Tool
@ -110,14 +108,13 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="3" Optimization="3"
AdditionalIncludeDirectories=".;../../external" AdditionalIncludeDirectories=".;..\..\external;..\..\external\libxml2\include;..\..\external\pdcurses;..\..\external\lua\src"
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE;NDEBUG" PreprocessorDefinitions="LIBXML_STATIC;WIN32;_CRT_SECURE_NO_DEPRECATE;NDEBUG"
StringPooling="true" StringPooling="true"
RuntimeLibrary="2" RuntimeLibrary="2"
EnableFunctionLevelLinking="true" EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="4" WarningLevel="4"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="0" DebugInformationFormat="0"
/> />
<Tool <Tool

View File

@ -42,16 +42,14 @@
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalOptions="/MP" AdditionalOptions="/MP"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories=".;../../external" AdditionalIncludeDirectories=".;..\..\external;..\..\external\libxml2\include"
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE" PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE"
MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
RuntimeLibrary="3" RuntimeLibrary="3"
EnableFunctionLevelLinking="true" EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="4" WarningLevel="4"
WarnAsError="true" WarnAsError="true"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4" DebugInformationFormat="4"
/> />
<Tool <Tool
@ -110,14 +108,13 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="3" Optimization="3"
AdditionalIncludeDirectories=".;../../external" AdditionalIncludeDirectories=".;..\..\external;..\..\external\libxml2\include"
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE;NDEBUG" PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE;NDEBUG"
StringPooling="true" StringPooling="true"
RuntimeLibrary="2" RuntimeLibrary="2"
EnableFunctionLevelLinking="true" EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="4" WarningLevel="4"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="0" DebugInformationFormat="0"
/> />
<Tool <Tool
@ -942,6 +939,22 @@
<File <File
RelativePath=".\kernel\curse_test.c" RelativePath=".\kernel\curse_test.c"
> >
<FileConfiguration
Name="Debug|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
</File> </File>
</Files> </Files>
<Globals> <Globals>

View File

@ -44,6 +44,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <util/event.h> #include <util/event.h>
#include <util/functions.h> #include <util/functions.h>
#include <util/goodies.h> #include <util/goodies.h>
#include <util/log.h>
#include <util/language.h> #include <util/language.h>
#include <util/message.h> #include <util/message.h>
#include <util/umlaut.h> #include <util/umlaut.h>

View File

@ -42,16 +42,14 @@
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalOptions="/MP" AdditionalOptions="/MP"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories=".;..\..\external;..\..\external\lua\src;..\..\external\tolua\include;..\..\external\libxml2\include" AdditionalIncludeDirectories=".;..\..\external;..\..\external\lua\src;..\..\external\tolua\include;..\..\external\libxml2\include;..\..\external\pdcurses"
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE" PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE"
MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
RuntimeLibrary="3" RuntimeLibrary="3"
EnableFunctionLevelLinking="true" EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="4" WarningLevel="4"
WarnAsError="true" WarnAsError="true"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4" DebugInformationFormat="4"
/> />
<Tool <Tool
@ -110,14 +108,13 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="3" Optimization="3"
AdditionalIncludeDirectories=".;..\..\external;..\..\external\lua\src;..\..\external\tolua\include;..\..\external\libxml2\include" AdditionalIncludeDirectories=".;..\..\external;..\..\external\lua\src;..\..\external\tolua\include;..\..\external\libxml2\include;..\..\external\pdcurses"
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE;NDEBUG" PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE;NDEBUG"
StringPooling="true" StringPooling="true"
RuntimeLibrary="2" RuntimeLibrary="2"
EnableFunctionLevelLinking="true" EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="4" WarningLevel="4"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="0" DebugInformationFormat="0"
/> />
<Tool <Tool

View File

@ -29,6 +29,7 @@
#include <util/attrib.h> #include <util/attrib.h>
#include <util/rng.h> #include <util/rng.h>
#include <util/resolve.h> #include <util/resolve.h>
#include <util/language.h>
#include <util/storage.h> #include <util/storage.h>
/* libc includes */ /* libc includes */

View File

@ -42,16 +42,14 @@
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalOptions="/MP" AdditionalOptions="/MP"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories=".;..\..\external;..\..\external\pdcurses" AdditionalIncludeDirectories=".;..\..\external;..\..\external\pdcurses;..\..\external\libxml2\include;..\..\external\lua\src"
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE" PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE"
MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
RuntimeLibrary="3" RuntimeLibrary="3"
EnableFunctionLevelLinking="true" EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="4" WarningLevel="4"
WarnAsError="true" WarnAsError="true"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4" DebugInformationFormat="4"
/> />
<Tool <Tool
@ -110,14 +108,13 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="3" Optimization="3"
AdditionalIncludeDirectories=".;..\..\external;..\..\external\pdcurses" AdditionalIncludeDirectories=".;..\..\external;..\..\external\pdcurses;..\..\external\libxml2\include;..\..\external\lua\src"
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE;NDEBUG" PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE;NDEBUG"
StringPooling="true" StringPooling="true"
RuntimeLibrary="2" RuntimeLibrary="2"
EnableFunctionLevelLinking="true" EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="4" WarningLevel="4"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="0" DebugInformationFormat="0"
/> />
<Tool <Tool