Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing cstdint in headers #63

Open
apraga opened this issue May 3, 2024 · 0 comments
Open

Missing cstdint in headers #63

apraga opened this issue May 3, 2024 · 0 comments

Comments

@apraga
Copy link

apraga commented May 3, 2024

Hi,

I'm currently packaging dragmap for Nix NixOS/nixpkgs#307720 and have found what seems to be missing include cstdint in the code.
Could you consider adding them to the code base ?

Thanks,

Patch

diff --git a/src/include/map/SeedPosition.hpp b/src/include/map/SeedPosition.hpp
index 30a7d47..c05af16 100644
--- a/src/include/map/SeedPosition.hpp
+++ b/src/include/map/SeedPosition.hpp
@@ -16,6 +16,7 @@
 #define MAP_SEED_POSITION_HPP
 
 #include <ostream>
+#include <cstdint>
 
 #include "sequences/Seed.hpp"
 
diff --git a/src/include/sequences/Read.hpp b/src/include/sequences/Read.hpp
index 460c1cb..c7ff619 100644
--- a/src/include/sequences/Read.hpp
+++ b/src/include/sequences/Read.hpp
@@ -16,6 +16,7 @@
 #define SEQUENCES_READ_HPP
 
 #include <iostream>
+#include <cstdint>
 #include <string>
 #include <vector>
 
diff --git a/src/include/sequences/Seed.hpp b/src/include/sequences/Seed.hpp
index a242153..dd4d23b 100644
--- a/src/include/sequences/Seed.hpp
+++ b/src/include/sequences/Seed.hpp
@@ -16,6 +16,7 @@
 #define SEQUENCES_SEED_HPP
 
 #include <ostream>
+#include <cstdint>
 #include <vector>
 
 #include "sequences/Read.hpp"
diff --git a/src/lib/sequences/tests/unit/CrcHasherMocks.hpp b/src/lib/sequences/tests/unit/CrcHasherMocks.hpp
index 1866be7..5d9b7d7 100644
--- a/src/lib/sequences/tests/unit/CrcHasherMocks.hpp
+++ b/src/lib/sequences/tests/unit/CrcHasherMocks.hpp
@@ -2,6 +2,7 @@
 
 #include <array>
 #include <cassert>
+#include <cstdint>
 #include <cstdlib>
 #include <string>
 
diff --git a/stubs/dragen/src/host/dragen_api/read_group_list.hpp b/stubs/dragen/src/host/dragen_api/read_group_list.hpp
index eefb9ae..623a77f 100644
--- a/stubs/dragen/src/host/dragen_api/read_group_list.hpp
+++ b/stubs/dragen/src/host/dragen_api/read_group_list.hpp
@@ -14,6 +14,7 @@
 #define __READ_GROUP_LIST_HPP__
 
 #include "dragen_exception.hpp"
+#include <cstdint>
 class ReadGroupList {
 public:
   const std::string &getReadGroupName(const uint16_t idx) const {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant