It does of course depend on each case whether a warning is easy to
avoid or not, and also if it warns about a real problem or not. But
in any case, a warning can help me write code that more surely will
do what I intend. For example the following code is not doing what I
intended:
#include <stdio.h>
void print(int a) { printf("%d\n", a); };
int main() { print(2.5); return 0; };
I think the problem in the code is both easy to avoid and serious, but
I get no warning with -Wall and -Wextra (g++ 4.3).
Instead of adding -Wconversion (and to search for any other flags I
might find useful, but that I don't know of yet), I would rather
compile my project with something like "-Weverything" from the
beginning, and then disable the warnings that turns out to not fit my
programming style.