Quite a few times recently there have been compiler warnings appear on one platform but not in another. We're not talking about obscure warnings - simple things like "k_ptr could be used uninitialised in this function" or "passing arg 1 of 'foo' from incompatible pointer type".
Does anyone have a foolproof way to make sure all warnings show up on all platforms? I've been right through http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html and still can't get certain warnings to show up (gcc 4.3.4).
Any hints appreciated.
Does anyone have a foolproof way to make sure all warnings show up on all platforms? I've been right through http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html and still can't get certain warnings to show up (gcc 4.3.4).
Any hints appreciated.