Can anyone suggest the linux utility to detect all implicit conversions in the code? Desirable with an explanation of how to use it?

  • one
    maybe you just want to know about the clang-tidy and gcc -Wall -pedantic -Wextra ? - KoVadim 2:19 pm
  • maybe, I dont know. I use Qtcreator and Cmake on Linux. - Vladislav Sugar
  • Add the following line to your cmake set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra") - KoVadim
  • Added, compiled, and then what to do? - Vladislav Sugar
  • The option to include warnings for potentially incorrect conversions is -Wconversion . With the -Wall -pedantic -Wextra it remains disabled. The ability to detect all implicit conversions is missing. In any case, I did not hear about the finished tools .. - VTT

0