From 3c956e687946459cf97c6d7ed2e34399c5caefae Mon Sep 17 00:00:00 2001 From: Guoyi Zhang Date: Thu, 28 Mar 2024 23:27:30 +0800 Subject: [PATCH 1/2] fix: gcc13 lacks cstdint again --- src/gc.h | 1 + src/global_variable.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/gc.h b/src/gc.h index 8a6e556..f913204 100644 --- a/src/gc.h +++ b/src/gc.h @@ -9,6 +9,7 @@ #include #include #include +#include using namespace ::std; class quartile_result { diff --git a/src/global_variable.h b/src/global_variable.h index 32b5787..85965f5 100644 --- a/src/global_variable.h +++ b/src/global_variable.h @@ -4,6 +4,7 @@ #include #include #include "global_parameter.h" +#include // #include using namespace ::std; #define READ_MAX_LEN 1000 From f5976083183ddc38f25dbcfdab601513d60847ec Mon Sep 17 00:00:00 2001 From: Guoyi Zhang Date: Thu, 28 Mar 2024 23:38:17 +0800 Subject: [PATCH 2/2] fix: cpp also need cstdint --- src/gc.cpp | 1 + src/global_variable.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gc.cpp b/src/gc.cpp index 9295b9f..1a0809d 100644 --- a/src/gc.cpp +++ b/src/gc.cpp @@ -16,6 +16,7 @@ #include #include "zlib.h" #include "gc.h" +#include // #include using namespace ::std; diff --git a/src/global_variable.cpp b/src/global_variable.cpp index 812c459..362e14e 100644 --- a/src/global_variable.cpp +++ b/src/global_variable.cpp @@ -1,4 +1,5 @@ #include "global_variable.h" +#include C_general_stat::C_general_stat() { @@ -99,4 +100,4 @@ C_global_variable::C_global_variable(C_global_parameter &gp) trim2_stat = C_fastq_file_stat(gp); clean1_stat = C_fastq_file_stat(gp); clean2_stat = C_fastq_file_stat(gp); -} \ No newline at end of file +}