From 89b6c25c4a67644f41a7d82a50267fb59f37198c Mon Sep 17 00:00:00 2001 From: Gaetan de Villele Date: Tue, 28 Sep 2021 04:07:32 +0200 Subject: [PATCH] fix usage of fatal() function when Clang analyzer is used (#2617) --- src/bgfx_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bgfx_p.h b/src/bgfx_p.h index 1b58b06a3..6205222df 100644 --- a/src/bgfx_p.h +++ b/src/bgfx_p.h @@ -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