[llvm] ff1681d - [Support] Add missing <cstdint> header to Signals.h
Sergei Trofimovich via llvm-commits
llvm-commits at lists.llvm.org
Mon May 23 00:49:07 PDT 2022
Author: Sergei Trofimovich
Date: 2022-05-23T08:48:14+01:00
New Revision: ff1681ddb303223973653f7f5f3f3435b48a1983
URL: https://github.com/llvm/llvm-project/commit/ff1681ddb303223973653f7f5f3f3435b48a1983
DIFF: https://github.com/llvm/llvm-project/commit/ff1681ddb303223973653f7f5f3f3435b48a1983.diff
LOG: [Support] Add missing <cstdint> header to Signals.h
Without the change llvm build fails on this week's gcc-13 snapshot as:
[ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o
In file included from llvm/lib/Support/Signals.cpp:14:
llvm/include/llvm/Support/Signals.h:119:8: error: variable or field 'CleanupOnSignal' declared void
119 | void CleanupOnSignal(uintptr_t Context);
| ^~~~~~~~~~~~~~~
Added:
Modified:
llvm/include/llvm/Support/Signals.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/Signals.h b/llvm/include/llvm/Support/Signals.h
index 44f5a750ff5cb..937e0572d4a72 100644
--- a/llvm/include/llvm/Support/Signals.h
+++ b/llvm/include/llvm/Support/Signals.h
@@ -14,6 +14,7 @@
#ifndef LLVM_SUPPORT_SIGNALS_H
#define LLVM_SUPPORT_SIGNALS_H
+#include <cstdint>
#include <string>
namespace llvm {
More information about the llvm-commits
mailing list