Skip to content

Commit

Permalink
i hate the exotic platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
DerThorsten committed Oct 25, 2024
1 parent 1e005e3 commit c00a77c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/sparrow/layout/primitive_array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,13 @@ namespace sparrow
// buffers
auto bitmap_ptr = new std::uint8_t[(range_size + 7) / 8];
auto data_buffer_ptr = new std::uint8_t[range_size * sizeof(T)];

#ifdef __GNUC__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wcast-align"
#endif
auto data_ptr = reinterpret_cast<T*>(data_buffer_ptr);
#ifdef __GNUC__

Check failure on line 197 in include/sparrow/layout/primitive_array.hpp

View workflow job for this annotation

GitHub Actions / build

include/sparrow/layout/primitive_array.hpp:197:10 [clang-diagnostic-error]

unterminated conditional directive

// iterators to the inputs
auto value_iter = std::ranges::begin(values);
Expand Down

0 comments on commit c00a77c

Please sign in to comment.