curses gui broken in master
ccmake
is broken in master. Running ccmake
on a simple CMakeLists.txt
like
cmake_minimum_required(VERSION 3.13)
project(tst)
find_program(MAKE_EXECUTABLE make)
message(STATUS "MAKE_EXECUTABLE = ${MAKE_EXECUTABLE}")
and pressing c
two times to reconfigure the cache gives an error.
This is due to a wrong loop transformation during refactoring in
f6291eee (cmCursesMainForm: Modernize with STL and ranged-for loops) 2019-02-10,
in the hunk around
@@ -659,28 +648,28 @@ void cmCursesMainForm::RemoveEntry(const char* value)