fix usage of fatal() function when Clang analyzer is used (#2617)
This commit is contained in:
parent
dfb84e4913
commit
89b6c25c4a
@ -67,7 +67,7 @@
|
||||
namespace bgfx
|
||||
{
|
||||
#if BX_COMPILER_CLANG_ANALYZER
|
||||
void __attribute__( (analyzer_noreturn) ) fatal(Fatal::Enum _code, const char* _format, ...);
|
||||
void __attribute__( (analyzer_noreturn) ) fatal(const char* _filePath, uint16_t _line, Fatal::Enum _code, const char* _format, ...);
|
||||
#else
|
||||
void fatal(const char* _filePath, uint16_t _line, Fatal::Enum _code, const char* _format, ...);
|
||||
#endif // BX_COMPILER_CLANG_ANALYZER
|
||||
|
Loading…
Reference in New Issue
Block a user