Printable True Bugs Wait Posters
Pro tip: when you develop with gcc, don't settle for anything less than<p><pre><code>    gcc -ansi -pedantic -Wall
</code></pre>
At university I often had people coming to me and asking, "my program compiles correctly, but it keeps crashing / doing weird things; what did I do wrong?". I always said, "add '-ansi -pedantic -Wall' to the compile flags and come back to me when you cleared that wall of warnings down to nothing". Every single time the problem was directly or indirectly caused by the things that were in the warning messages.<p>It's a shame that the default choice of GCC flags make this compiler pretty much useless for work.<p>The warnings are there to help you. You can choose to ignore them and that's fine, <i>as long as you do it deliberately and with a damn good reason</i>, not because you don't even know they're there.