I like to use -Weverything
for the compiler to catch all possible warnings, but sometimes I get warnings that I don't want to fix. How can I manually disable those particular warnings as they occur?
You can disable individual warnings using -Wno-XYZ
, XYZ being the name of the warning feature to be disabled.