[cmake-developers] Build warnings for CMake 3.12.2

Brad King brad.king at kitware.com
Mon Sep 10 07:35:21 EDT 2018


On 09/08/2018 04:26 PM, Alan W. Irwin wrote:
> For g++ version 8.0.2 from Debian Buster, I
> recently noticed the following (bootstrap) build warnings for CMake-3.12.2:
> 
> /home/software/cmake/cmake.git/Source/CursesDialog/cmCursesLongMessageForm.cxx:50:10: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound depends on the length of the source argument [-Wstringop-overflow=]

These have been fixed in `master`:

  https://gitlab.kitware.com/cmake/cmake/merge_requests/2244

-Brad


More information about the cmake-developers mailing list