Add missing #include <cstdint>
This commit is contained in:
parent
6d31b558ee
commit
635da91690
4 changed files with 109 additions and 34 deletions
38
root-add-missing-include-cstdint.patch
Normal file
38
root-add-missing-include-cstdint.patch
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
From cf6a925dfda2411b979da368e4cea769dbe6238a Mon Sep 17 00:00:00 2001
|
||||
From: Mattias Ellert <mattias.ellert@physics.uu.se>
|
||||
Date: Fri, 20 Jan 2023 06:34:11 +0100
|
||||
Subject: [PATCH] Add missing #include <cstdint>
|
||||
|
||||
Fixes compilation error with gcc 13
|
||||
---
|
||||
tree/ntuple/v7/inc/ROOT/RDaos.hxx | 1 +
|
||||
tree/ntuple/v7/test/CustomStruct.hxx | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/tree/ntuple/v7/inc/ROOT/RDaos.hxx b/tree/ntuple/v7/inc/ROOT/RDaos.hxx
|
||||
index 69ee9ba99d..6367dfa93f 100644
|
||||
--- a/tree/ntuple/v7/inc/ROOT/RDaos.hxx
|
||||
+++ b/tree/ntuple/v7/inc/ROOT/RDaos.hxx
|
||||
@@ -22,6 +22,7 @@
|
||||
// Also, this header file is known to provide macros that conflict with std::min()/std::max().
|
||||
extern "C" void d_rank_list_free(d_rank_list_t *rank_list);
|
||||
|
||||
+#include <cstdint>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
diff --git a/tree/ntuple/v7/test/CustomStruct.hxx b/tree/ntuple/v7/test/CustomStruct.hxx
|
||||
index a975b5ce5d..be08eba924 100644
|
||||
--- a/tree/ntuple/v7/test/CustomStruct.hxx
|
||||
+++ b/tree/ntuple/v7/test/CustomStruct.hxx
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef ROOT7_RNTuple_Test_CustomStruct
|
||||
#define ROOT7_RNTuple_Test_CustomStruct
|
||||
|
||||
+#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
--
|
||||
2.39.0
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue