cmake CXX_HAS_WFORMAT examples

robotology/yarp cmake/YarpSystemCheck.cmake :263

check_cxx_compiler_flag("-Wformat" CXX_HAS_WFORMAT)