diff --git a/cmake/configure.cmake b/cmake/configure.cmake index 1984b16ac..f8ecf1dcc 100644 --- a/cmake/configure.cmake +++ b/cmake/configure.cmake @@ -73,7 +73,7 @@ if( MSVC ) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_COMPILER_FLAGS}") endif() set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}") - set(COMMON_FLAGS "/W4 /wd4267 /wd4244 /wd4100") + set(COMMON_FLAGS "/W4 /wd4267 /wd4244") set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${COMMON_FLAGS}" ) set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${COMMON_FLAGS}") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMMON_FLAGS}" ) diff --git a/tasks/all/runner.cpp b/tasks/all/runner.cpp index 5a92f5c6c..5ea930ad8 100644 --- a/tasks/all/runner.cpp +++ b/tasks/all/runner.cpp @@ -14,7 +14,7 @@ class UnreadMessagesDetector : public ::testing::EmptyTestEventListener { public: UnreadMessagesDetector() = default; - void OnTestEnd(const ::testing::TestInfo& test_info) override { + void OnTestEnd(const ::testing::TestInfo& /*test_info*/) override { int rank = -1; MPI_Comm_rank(MPI_COMM_WORLD, &rank); diff --git a/tasks/mpi/runner.cpp b/tasks/mpi/runner.cpp index ece86e7b8..9de8bed44 100644 --- a/tasks/mpi/runner.cpp +++ b/tasks/mpi/runner.cpp @@ -11,7 +11,7 @@ class UnreadMessagesDetector : public ::testing::EmptyTestEventListener { public: UnreadMessagesDetector() = default; - void OnTestEnd(const ::testing::TestInfo& test_info) override { + void OnTestEnd(const ::testing::TestInfo& /*test_info*/) override { int rank = -1; MPI_Comm_rank(MPI_COMM_WORLD, &rank);