Index: src/base/logging.h |
diff --git a/src/base/logging.h b/src/base/logging.h |
index 15322f6126dcb9efbf31216effd5e2871b79346c..45bc3c4cc6c3d5df4fd357ac59c0cf4a25c78c4a 100644 |
--- a/src/base/logging.h |
+++ b/src/base/logging.h |
@@ -10,9 +10,10 @@ |
#include <string> |
#include "src/base/build_config.h" |
+#include "src/base/compiler-specific.h" |
-extern "C" V8_NORETURN void V8_Fatal(const char* file, int line, |
- const char* format, ...); |
+extern "C" PRINTF_FORMAT(3, 4) V8_NORETURN |
+ void V8_Fatal(const char* file, int line, const char* format, ...); |
extern "C" void V8_RuntimeError(const char* file, int line, |
const char* message); |