1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-03 16:13:22 +08:00

Suppress clang warning for tier0's GetSpewOutputColor().

This commit is contained in:
Scott Ehlert 2012-05-29 20:12:41 -05:00
parent 999642229d
commit 9a904fbd8a

View File

@ -178,6 +178,12 @@ enum SpewRetval_t
/* type of externally defined function used to display debug spew */
typedef SpewRetval_t (*SpewOutputFunc_t)( SpewType_t spewType, const tchar *pMsg );
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
#endif
/* Used to redirect spew output */
DBG_INTERFACE void SpewOutputFunc( SpewOutputFunc_t func );
@ -206,6 +212,10 @@ DBG_INTERFACE bool SetupWin32ConsoleIO();
// Returns true if they want to break in the debugger.
DBG_INTERFACE bool DoNewAssertDialog( const tchar *pFile, int line, const tchar *pExpression );
#ifdef __clang__
#pragma clang diagnostic pop
#endif
/* Used to define macros, never use these directly. */
#define _AssertMsg( _exp, _msg, _executeExp, _bFatal ) \