Fix compilation under MSVC(VS2019)

This commit is contained in:
JusicP
2022-01-13 16:18:38 +02:00
parent 94fb7d4c00
commit 5e27785d40
127 changed files with 195 additions and 95 deletions

View File

@@ -8,7 +8,7 @@
#include "cbase.h"
#ifdef _WIN32
#include "typeinfo.h"
#include "typeinfo"
// BUGBUG: typeinfo stomps some of the warning settings (in yvals.h)
#pragma warning(disable:4244)
#elif POSIX

View File

@@ -5,7 +5,7 @@
//-----------------------------------------------------------------------------
$Macro OUTBINNAME "server"
$Macro OUTBINDIR "$SRCDIR\..\game\$GAMENAME\bin"
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
$Macro DEVKITBINDIR "$GAMENAME\bin" [$X360]
// It's important to include $GAMENAME in the generated_proto directory
// to avoid race conditions when multiple games are in one solution.
@@ -16,7 +16,6 @@ $MacroRequired "GAMENAME"
$include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
$include "$SRCDIR\vpc_scripts\protobuf_builder.vpc"
$Include "$SRCDIR\vpc_scripts\source_replay.vpc" [$TF]
$Include "$SRCDIR\game\protobuf_include.vpc"
$Configuration "Debug"
{

View File

@@ -11,6 +11,7 @@ $Include "$SRCDIR\game\server\server_base.vpc"
$Include "$SRCDIR\game\server\server_econ_base.vpc"
$include "$SRCDIR\game\shared\tf\tf_gcmessages_include.vpc"
$Include "$SRCDIR\game\server\nav_mesh.vpc"
$Include "$SRCDIR\game\protobuf_include.vpc"
$Configuration
{