projects
/
llvm-toolchain-14.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1f182d
)
[PATCH] [libomp] Explicitly include <string> header (NFC)
author
Nikita Popov
<npopov@redhat.com>
Fri, 20 Jan 2023 09:11:01 +0000
(10:11 +0100)
committer
Gianfranco Costamagna
<locutusofborg@debian.org>
Thu, 7 Sep 2023 22:41:35 +0000
(23:41 +0100)
This is required to build against libstdc++ 13. Debug.h uses
std::stoi() from <string> without explicitly including it.
Gbp-Pq: Name gcc-13-build-fix.patch
openmp/libomptarget/include/Debug.h
patch
|
blob
|
history
diff --git
a/openmp/libomptarget/include/Debug.h
b/openmp/libomptarget/include/Debug.h
index 942f39fe9c1a2338418ea86991b321dca5a9696c..85cccf79d9c7875530d2272fabd31b0405d94f36 100644
(file)
--- a/
openmp/libomptarget/include/Debug.h
+++ b/
openmp/libomptarget/include/Debug.h
@@
-39,6
+39,7
@@
#include <atomic>
#include <mutex>
+#include <string>
/// 32-Bit field data attributes controlling information presented to the user.
enum OpenMPInfoType : uint32_t {