Don't ignore warning 4100

This commit is contained in:
momo5502
2016-08-18 02:18:45 +02:00
parent f064966ec0
commit 256b463411
30 changed files with 76 additions and 36 deletions

View File

@ -1,6 +1,8 @@
#include "STDInclude.hpp"
using namespace Components;
using namespace Components;
STEAM_IGNORE_WARNINGS_START
namespace Steam
{
@ -118,3 +120,5 @@ namespace Steam
{
}
}
STEAM_IGNORE_WARNINGS_END

View File

@ -1,5 +1,7 @@
#include "STDInclude.hpp"
STEAM_IGNORE_WARNINGS_START
namespace Steam
{
void GameServer::LogOn()
@ -89,3 +91,5 @@ namespace Steam
return 0;
}
}
STEAM_IGNORE_WARNINGS_END

View File

@ -1,5 +1,7 @@
#include "STDInclude.hpp"
STEAM_IGNORE_WARNINGS_START
namespace Steam
{
void MasterServerUpdater::SetActive(bool bActive)
@ -65,3 +67,5 @@ namespace Steam
return 0;
}
}
STEAM_IGNORE_WARNINGS_END

View File

@ -1,4 +1,6 @@
#include "STDInclude.hpp"
#include "STDInclude.hpp"
STEAM_IGNORE_WARNINGS_START
namespace Steam
{
@ -191,3 +193,5 @@ namespace Steam
return true;
}
}
STEAM_IGNORE_WARNINGS_END

View File

@ -1,5 +1,7 @@
#include "STDInclude.hpp"
STEAM_IGNORE_WARNINGS_START
namespace Steam
{
bool Networking::SendP2PPacket(SteamID steamIDRemote, const void *pubData, unsigned int cubData, int eP2PSendType)
@ -102,3 +104,5 @@ namespace Steam
return 0;
}
}
STEAM_IGNORE_WARNINGS_END

View File

@ -1,5 +1,7 @@
#include "STDInclude.hpp"
STEAM_IGNORE_WARNINGS_START
namespace Steam
{
bool RemoteStorage::FileWrite(const char *pchFile, const void *pvData, int cubData)
@ -41,3 +43,5 @@ namespace Steam
return false;
}
}
STEAM_IGNORE_WARNINGS_END

View File

@ -1,4 +1,6 @@
#include "STDInclude.hpp"
STEAM_IGNORE_WARNINGS_START
namespace Steam
{
@ -100,3 +102,5 @@ namespace Steam
return 0;
}
}
STEAM_IGNORE_WARNINGS_END

View File

@ -1,5 +1,7 @@
#include "STDInclude.hpp"
STEAM_IGNORE_WARNINGS_START
namespace Steam
{
unsigned int Utils::GetSecondsSinceAppActive()
@ -95,3 +97,5 @@ namespace Steam
return false;
}
}
STEAM_IGNORE_WARNINGS_END

View File

@ -2,6 +2,11 @@
#define STEAM_EXPORT extern "C" __declspec(dllexport)
#define STEAM_IGNORE_WARNINGS_START __pragma(warning(push)) \
__pragma(warning(disable: 4100))
#define STEAM_IGNORE_WARNINGS_END __pragma(warning(pop))
typedef union
{
struct