Help with warnings

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    Help with warnings

    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.
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎