From 40dbda6931c636b73295beac82453c2b4cd47b9e Mon Sep 17 00:00:00 2001 From: Richard Chapman Date: Wed, 14 Aug 2024 17:18:33 +0100 Subject: [PATCH] HPCC-32441 Make all warnings into errors in libremote.so Signed-off-by: Richard Chapman --- common/remote/CMakeLists.txt | 1 + common/remote/rmtspawn.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/remote/CMakeLists.txt b/common/remote/CMakeLists.txt index 2758f5b02ca..afacc903a33 100644 --- a/common/remote/CMakeLists.txt +++ b/common/remote/CMakeLists.txt @@ -23,6 +23,7 @@ ##################################################### project( remote ) +SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${STRICT_CXX_FLAGS}") HPCC_ADD_SUBDIRECTORY(hooks) diff --git a/common/remote/rmtspawn.cpp b/common/remote/rmtspawn.cpp index fb029ab023c..413b533aea3 100644 --- a/common/remote/rmtspawn.cpp +++ b/common/remote/rmtspawn.cpp @@ -465,7 +465,7 @@ void CRemoteSlave::run(int argc, const char * * argv) msg.read(numPasswds); if (numPasswds <= 10) { - for (int i=0; i