diff --git a/cmake/Settings.cmake b/cmake/Settings.cmake index 02ef1b1c..2754db73 100644 --- a/cmake/Settings.cmake +++ b/cmake/Settings.cmake @@ -16,6 +16,7 @@ set(COMPILER_FLAGS -Wnull-dereference -Wold-style-cast -Wpedantic + -Wunreachable-code -Wunused # FIXME: The following bunch are needed for gcc12 atm. -Wno-missing-requires diff --git a/tests/integration/data/cassandra/BackendTests.cpp b/tests/integration/data/cassandra/BackendTests.cpp index 9fcc16d3..e0f87cb1 100644 --- a/tests/integration/data/cassandra/BackendTests.cpp +++ b/tests/integration/data/cassandra/BackendTests.cpp @@ -1424,7 +1424,7 @@ TEST_F(BackendCassandraNodeMessageTest, UpdatingMessageKeepsItAlive) { #if defined(__APPLE__) GTEST_SKIP() << "Skipping test on Apple platform due to slow DB"; -#endif +#else static boost::uuids::uuid const kUUID = generateUuid(); static std::string const kUPDATED_MESSAGE = "updated message"; @@ -1442,4 +1442,5 @@ TEST_F(BackendCassandraNodeMessageTest, UpdatingMessageKeepsItAlive) EXPECT_EQ(uuid, kUUID); EXPECT_EQ(message, kUPDATED_MESSAGE); }); +#endif }