In file included from ../deps/source-sdk-2013/mp/src/public/tier0/threadtools.h:15,
from ../deps/source-sdk-2013/mp/src/public/filesystem.h:14,
from ../src/serverplugin_valve.cpp:29:
../deps/source-sdk-2013/mp/src/public/tier0/threadtools.h: In instantiation of ‘CInterlockedIntT<T>::CInterlockedIntT() [with T = int]’:
../deps/source-sdk-2013/mp/src/public/tier0/threadtools.h:1130:22: required from here
../deps/source-sdk-2013/mp/src/public/tier0/dbg.h:570:75: error: size ‘-1’ of array is negative
570 | #define COMPILE_TIME_ASSERT( pred ) typedef int UNIQUE_ID[ (pred) ? 1 : -1 ]
| ~~~~~~~^~~~~~~~
//-----------------------------------------------------------------------------
// Macro to assist in asserting constant invariants during compilation
// This implementation of compile time assert has zero cost (so it can safely be
// included in release builds) and can be used at file scope or function scope.
// We're using an ancient version of GCC that can't quite handle some
// of our complicated templates properly. Use some preprocessor trickery
// to workaround this
#ifdef __GNUC__
#define COMPILE_TIME_ASSERT( pred ) typedef int UNIQUE_ID[ (pred) ? 1 : -1 ]
Ne sovsem ponyatno kak ispravit
../deps/source-sdk-2013/mp/src/public/tier0/threadtools.h:1130