[Openmp-commits] [openmp] 1b4fdf1 - [libomp] Explicitly include <string> header (NFC)
Nikita Popov via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jan 20 01:39:35 PST 2023
Author: Nikita Popov
Date: 2023-01-20T10:39:27+01:00
New Revision: 1b4fdf18bc2aaa2d46bf072475dd9cbcd44a9fee
URL: https://github.com/llvm/llvm-project/commit/1b4fdf18bc2aaa2d46bf072475dd9cbcd44a9fee
DIFF: https://github.com/llvm/llvm-project/commit/1b4fdf18bc2aaa2d46bf072475dd9cbcd44a9fee.diff
LOG: [libomp] Explicitly include <string> header (NFC)
This is required to build against libstdc++ 13. Debug.h uses
std::stoi() from <string> without explicitly including it.
Added:
Modified:
openmp/libomptarget/include/Debug.h
Removed:
################################################################################
diff --git a/openmp/libomptarget/include/Debug.h b/openmp/libomptarget/include/Debug.h
index 4e7da8b7d53f2..387dfe50659e4 100644
--- 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 {
More information about the Openmp-commits
mailing list