The forum is being replaced with new software. Please use the replacement hosted at https://forum.angband.live/ in the meantime. These forums will stay open until migrating old topics can be achieved, though posting will eventually be locked. Thankyou for your patience.

Help with warnings

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

    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...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎
MMOMBuy POE 2 Currency