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

Fix compilation on centOS with gcc 11.2.0 #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion veritymap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ veritymap: cmake
$(MAKE) -C build all
mkdir -p build/bin
mv $(abspath build/src/projects/veritymap/veritymap) build/bin/veritymap
-rm -r build/bin/config
rm -rf build/bin/config
mv $(abspath build/src/projects/veritymap/config) build/bin

test_launch: veritymap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#pragma once

#include <optional>

#include <sequences/contigs.hpp>
#include <sequences/seqio.hpp>

Expand Down Expand Up @@ -114,4 +116,4 @@ class TargetIndexer {
}
};

}// End namespace veritymap::kmer_index
}// End namespace veritymap::kmer_index
8 changes: 0 additions & 8 deletions veritymap/src/tools/sketch/include/sketch/div.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,6 @@ template<> struct Schismatic<uint32_t> {
return div_t<uint32_t> {tmpd, v - d_ * tmpd};
}
};
template<> struct Schismatic<int32_t>: Schismatic<uint32_t> {
template<typename...Args>Schismatic<int32_t>(Args &&...args):
Schismatic<uint32_t>(std::forward<Args>(args)...){}
};
template<> struct Schismatic<int64_t>: Schismatic<uint64_t> {
template<typename...Args>Schismatic<int64_t>(Args &&...args):
Schismatic<uint64_t>(std::forward<Args>(args)...){}
};

} // namespace schism

Expand Down