<div dir="ltr">Hi,<br><br>I don't know the history but I'm getting failures from warnings like this:<br><br>[ 75%] Building CXX object frmts/raw/CMakeFiles/gdal_raw.dir/dipxdataset.cpp.obj<br>1169In file included from ../../alg/viewshed.cpp:36:<br>1170../../alg/viewshed.h: In constructor 'gdal::Viewshed::Viewshed(const Options&)':<br>1171../../alg/viewshed.h:106:22: error: 'gdal::Viewshed::vFirstLineVal' should be initialized in the member initialization list [-Werror=effc++]<br>1172 106 | CPL_DLL explicit Viewshed(const Options &opts)<br>1173 | ^~~~~~~~<div><span class="gmail_signature_prefix"><br></span></div><div><span class="gmail_signature_prefix">This complaint is about a std::vector, whose initialization is automatically addressed by its default constructor. The same kind of thing happens with std::string. It's tedious (and IMO error-prone) to have to initialize things that are already initialized.  This was recognized long ago but perhaps never addressed:<br><br></span></div><div><span class="gmail_signature_prefix"><a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55837">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55837</a><br><br>Thoughts on turning off such checks as they're not sufficiently specific?</span></div><div><span class="gmail_signature_prefix"><br></span></div><div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div></div></div>