Skip to content

Commit

Permalink
GCC 13 support (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
havogt authored Jun 12, 2023
1 parent 263183b commit 88ac4e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,21 @@ jobs:
container: ghcr.io/gridtools/gridtools-base:${{ matrix.compiler }}
strategy:
matrix:
compiler: [gcc-8, gcc-10, gcc-11, gcc-12, clang-10, clang-14, clang-15]
compiler: [gcc-8, gcc-10, gcc-11, gcc-12, gcc-13, clang-10, clang-14, clang-15, clang-16]
build_type: [Debug, Release]
exclude:
- compiler: gcc-10
build_type: Debug
- compiler: gcc-11
build_type: Debug
- compiler: gcc-12
build_type: Debug
- compiler: clang-10
build_type: Debug
- compiler: clang-14
build_type: Debug
- compiler: clang-15
build_type: Debug

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 2 additions & 0 deletions src/serialbox/core/hash/Hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ class Hash {
///
/// \return Hex representation as string of the computed hash
virtual std::string hash(const void* data, int length) = 0;

virtual ~Hash() = default;
};

} // namespace serialbox
Expand Down
1 change: 1 addition & 0 deletions src/serialbox/core/hash/SHA256.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
//===------------------------------------------------------------------------------------------===//

#include "serialbox/core/hash/SHA256.h"
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <sstream>
Expand Down

0 comments on commit 88ac4e4

Please sign in to comment.