diff --git a/test/blockstore/testutils/BlockStoreTest_Size.h b/test/blockstore/testutils/BlockStoreTest_Size.h index a7697815..ea000091 100644 --- a/test/blockstore/testutils/BlockStoreTest_Size.h +++ b/test/blockstore/testutils/BlockStoreTest_Size.h @@ -140,7 +140,7 @@ private: } }; -constexpr std::array SIZES = {0, 1, 1024, 4096, 10*1024*1024}; +constexpr std::array SIZES = {{0, 1, 1024, 4096, 10*1024*1024}}; #define TYPED_TEST_P_FOR_ALL_SIZES(TestName) \ TYPED_TEST_P(BlockStoreTest, TestName) { \ for (auto size: SIZES) { \ diff --git a/test/cpp-utils/assert/exit_signal.cpp b/test/cpp-utils/assert/exit_signal.cpp index 911f95d9..4673703a 100644 --- a/test/cpp-utils/assert/exit_signal.cpp +++ b/test/cpp-utils/assert/exit_signal.cpp @@ -6,7 +6,7 @@ #include #endif -int handle_exit_signal(char* argv[]) { +void handle_exit_signal(char* argv[]) { const std::string kind = argv[1]; if (kind == "exception") { throw std::logic_error(argv[2]); diff --git a/test/cpp-utils/crypto/symmetric/CipherTest.cpp b/test/cpp-utils/crypto/symmetric/CipherTest.cpp index d4025645..cd30cc48 100644 --- a/test/cpp-utils/crypto/symmetric/CipherTest.cpp +++ b/test/cpp-utils/crypto/symmetric/CipherTest.cpp @@ -63,7 +63,7 @@ public: TYPED_TEST_CASE_P(CipherTest); -constexpr std::array SIZES = {0, 1, 100, 1024, 5000, 1048576, 20971520}; +constexpr std::array SIZES = {{0, 1, 100, 1024, 5000, 1048576, 20971520}}; TYPED_TEST_P(CipherTest, Size) { for (auto size: SIZES) {