Make Clang compile cpp11_test.cpp without warnings
Warnings about unused variables are quenched by simply incrementing the variables in question. This makes the try_compile() call in CMake succeed without warnings when checking for C++11 compatibility and using -Wall.
Showing
Please register or sign in to comment