moved disabled warnings from projectfiles to global.hpp
This commit is contained in:
parent
1a84bd3163
commit
7f0cb881db
10 changed files with 9674 additions and 9664 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,30 +1,30 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
WorkingDirectory="..\.."
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
WorkingDirectory="..\.."
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug (fast)|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
WorkingDirectory="..\.."
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
WorkingDirectory="..\.."
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
WorkingDirectory="..\.."
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug (fast)|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
WorkingDirectory="..\.."
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
Version="9,00"
|
||||
Name="wesnothd"
|
||||
ProjectGUID="{72F28A4A-A6A2-4C49-8141-7CD0DFA9ECCE}"
|
||||
RootNamespace="wesnothd"
|
||||
|
@ -50,7 +50,6 @@
|
|||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="4"
|
||||
DisableSpecificWarnings="4244;4099;4345;4250;4355;4800;4351"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
|
@ -126,7 +125,6 @@
|
|||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="3"
|
||||
DisableSpecificWarnings="4244;4099;4345;4250;4355;4800"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
|
@ -392,6 +390,10 @@
|
|||
RelativePath="..\..\src\server\game.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\global.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\server\input_stream.hpp"
|
||||
>
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
WorkingDirectory="..\.."
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
WorkingDirectory="..\.."
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
WorkingDirectory="..\.."
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
WorkingDirectory="..\.."
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="windows-1250"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
Version="9,00"
|
||||
Name="wesnothlib"
|
||||
ProjectGUID="{4A16638B-127B-4AE8-8E0B-4B211B96F976}"
|
||||
RootNamespace="wesnothlib"
|
||||
|
@ -48,7 +48,6 @@
|
|||
RuntimeLibrary="3"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="4"
|
||||
DisableSpecificWarnings="4244;4099;4345;4250;4355;4800;4351"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
|
@ -112,7 +111,6 @@
|
|||
EnableFunctionLevelLinking="true"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="3"
|
||||
DisableSpecificWarnings="4244;4099;4345;4250;4355;4800"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
|
|
|
@ -27,6 +27,15 @@
|
|||
// Disable warning about deprecated functions.
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
//disable some MSVC warnings which are useless according to mordante
|
||||
#pragma warning(disable: 4244)
|
||||
#pragma warning(disable: 4099)
|
||||
#pragma warning(disable: 4345)
|
||||
#pragma warning(disable: 4250)
|
||||
#pragma warning(disable: 4355)
|
||||
#pragma warning(disable: 4800)
|
||||
#pragma warning(disable: 4351)
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
#ifndef LUA_JAILBREAK_EXCEPTION
|
||||
#define LUA_JAILBREAK_EXCEPTION
|
||||
|
||||
#include "global.hpp"
|
||||
|
||||
/**
|
||||
* Base class for exceptions that want to be thrown 'through' lua.
|
||||
*
|
||||
|
|
|
@ -52,6 +52,7 @@ documentation and/or software.
|
|||
#include <string.h> // Edit: needed for strlen() (strings.h should
|
||||
// include it but apparently does not for me)
|
||||
|
||||
#include "global.hpp"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
|
||||
#include "../log.hpp"
|
||||
|
||||
#include "global.hpp"
|
||||
|
||||
static lg::log_domain log_config("config");
|
||||
#define ERR_SWML LOG_STREAM(err, log_config)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue