Skip to content

Commit 4efeff2

Browse files
committed
Add compilation support for gcc-13
1 parent fde7daa commit 4efeff2

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

include/graphblas/base/config.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
#include <assert.h>
3535
#include <unistd.h> //sysconf
36+
#include <cstdint>
3637

3738
#include <graphblas/backends.hpp>
3839

include/graphblas/bsp1d/io.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,8 +1351,8 @@ namespace grb {
13511351
// a pipeline depth of 2 is sufficient.
13521352
constexpr size_t iteration_overlaps = 2;
13531353

1354-
const std::unique_ptr< size_t > first_nnz_per_thread(
1355-
new size_t[ num_threads * iteration_overlaps ]()
1354+
const std::unique_ptr< size_t[] > first_nnz_per_thread(
1355+
new size_t[ num_threads * iteration_overlaps ]
13561356
);
13571357
size_t * const first_nnz_per_thread_ptr = first_nnz_per_thread.get();
13581358
outgoing.resize( data.P );

include/graphblas/bsp1d/matrix.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ namespace grb {
197197
// check default fields that should have been set by public constructor
198198
assert( _m == 0 );
199199
assert( _n == 0 );
200-
assert( _id = std::numeric_limits< uintptr_t >::max() );
200+
assert( _id == std::numeric_limits< uintptr_t >::max() );
201201
assert( _ptr == nullptr );
202202
assert( _cap == 0 );
203203
// these default values correspond to an empty matrix and which the

include/graphblas/hyperdags/hyperdags.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include <ostream>
3434
#include <iostream>
3535
#include <type_traits>
36+
#include <cstdint>
3637

3738
#include <assert.h>
3839

tests/unit/parser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <map>
2222
#include <sstream>
2323
#include <stdexcept>
24+
#include <cstdint>
2425

2526
#include "graphblas/SynchronizedNonzeroIterator.hpp"
2627

0 commit comments

Comments
 (0)