CMake – Make the compiler compile more strictly
Let’s make compiler to check return value in cpp functions. If there is wrong data type for interface’s return value, compiling process will fail and gives us error information. We can also check uninitialized variables in C++ file by the setting: