Skip to content

Commit

Permalink
More test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Jun 20, 2024
1 parent f820c05 commit 7684b71
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <hpx/algorithm.hpp>
#include <hpx/execution.hpp>
#include <hpx/modules/testing.hpp>
#include <hpx/numeric.hpp>

#include <cstddef>
#include <iostream>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <hpx/algorithm.hpp>
#include <hpx/init.hpp>
#include <hpx/modules/testing.hpp>
#include <hpx/numeric.hpp>

#include <cstddef>
#include <iostream>
Expand Down
8 changes: 4 additions & 4 deletions libs/core/type_support/tests/unit/generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ namespace tests {
}
};

// gcc V11/V12 are complaining about mismatched-new-delete
#if !defined(HPX_GCC_VERSION) || HPX_GCC_VERSION >= 140000
// gcc V11 and on are complaining about mismatched-new-delete
#if !defined(HPX_GCC_VERSION) || HPX_GCC_VERSION >= 150000
hpx::generator<int, void, std::allocator<std::byte>> stateless_example()
{
co_yield 42;
Expand Down Expand Up @@ -313,8 +313,8 @@ int main()
HPX_TEST_EQ(i, expected.size());
}

// gcc V11/V12 are complaining about mismatched-new-delete
#if !defined(HPX_GCC_VERSION) || HPX_GCC_VERSION >= 140000
// gcc V11 and on are complaining about mismatched-new-delete
#if !defined(HPX_GCC_VERSION) || HPX_GCC_VERSION >= 150000
{
std::vector const expected = {42};
std::size_t i = 0;
Expand Down

0 comments on commit 7684b71

Please sign in to comment.