The Lint program is one of the best tools for finding portability problems and certain types of coding errors in C programs. Lint is easily found via Google, however...
...on many modern systems, lint has been replaced with compiler warning messages. When using gcc for example, you should compile with:
gcc -WallIn fact, you should really force your code to be warning free. While coding and testing, compile with:
gcc -Wall -WerrorThis will not only enable all warning messages, it will flag them as the errors that they really are!
...previous | up (conts) | next... |