mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-11-01 07:21:27 +01:00
Dev/win compile (#402)
Collection of fixes to make aare build on Windows. Requires the previous PRs for compilation to succeed. - Replaced `or` keyword with || - updated cmake file - fix for 32 bit long in fseek closes #395 closes #396
This commit is contained in:
1 parent
060a0ec9e7
commit
7e1b8a765d
12 files changed
+85
-45
No files matched your search
@@ -181,7 +181,8 @@ TEST_CASE("Summing 3x1 clusters of int64") {
|
||||
|
||||
Cluster<int32_t, 3, 1> c3 = {11, 12, {13, 14, 15}};
|
||||
cv.push_back(c3);
|
||||
REQUIRE(cv.capacity() == 4);
|
||||
// growth factor is implementation defined (2x libstdc++, 1.5x MSVC)
|
||||
REQUIRE(cv.capacity() >= 3);
|
||||
REQUIRE(cv.size() == 3);
|
||||
|
||||
/*
|
||||
@@ -237,7 +238,8 @@ TEST_CASE("Push back more than initial capacity") {
|
||||
Cluster<int32_t, 2, 2> c3 = {11, 12, {13, 14, 15, 16}};
|
||||
cv.push_back(c3);
|
||||
REQUIRE(cv.size() == 3);
|
||||
REQUIRE(cv.capacity() == 4);
|
||||
// growth factor is implementation defined (2x libstdc++, 1.5x MSVC)
|
||||
REQUIRE(cv.capacity() >= 3);
|
||||
|
||||
Cluster<int32_t, 2, 2> *ptr =
|
||||
reinterpret_cast<Cluster<int32_t, 2, 2> *>(cv.data());
|
||||
|
||||
Reference in new issue
Block a user