mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Fix compile error regression in Error shim on GCC/Clang.
This commit is contained in:
@ -244,7 +244,8 @@ PLATFORM_INTERFACE void Warning( const tchar *pMsg, ... ) FMTFUNCTION( 1, 2 );
|
|||||||
PLATFORM_INTERFACE void Warning_SpewCallStack( int iMaxCallStackLength, const tchar *pMsg, ... ) FMTFUNCTION( 2, 3 );
|
PLATFORM_INTERFACE void Warning_SpewCallStack( int iMaxCallStackLength, const tchar *pMsg, ... ) FMTFUNCTION( 2, 3 );
|
||||||
|
|
||||||
// This is gone in Source2. Provide helper to roughly mimic Source1 behavior
|
// This is gone in Source2. Provide helper to roughly mimic Source1 behavior
|
||||||
inline void Error( const tchar* pMsg, ... ) FMTFUNCTION( 1, 2 )
|
void Error( const tchar* pMsg, ... ) FMTFUNCTION( 1, 2 );
|
||||||
|
inline void Error( const tchar* pMsg, ... )
|
||||||
{
|
{
|
||||||
static char szBuffer[MAX_LOGGING_MESSAGE_LENGTH];
|
static char szBuffer[MAX_LOGGING_MESSAGE_LENGTH];
|
||||||
va_list params;
|
va_list params;
|
||||||
|
Reference in New Issue
Block a user