Roumazeilles.net

How to clean C source code (fast)

The old tricks for cleaning your C code of most of its unwanted ugliness:

  • Run PC-Lint on the code.
  • Run LCLint on the code.
  • Run CL /W4 /Za /Ox on the code (with your usal compiler, optimization finds many bugs not found without)
  • Run GCC -O3 -Wall -ansi -pedantic on the code.

Other similar articles:



  • feed of the comments.

Leave a Reply Comments


http://www.roumazeilles.net/

Copyright (c) 1999-2009 - Yves Roumazeilles (all rights reserved)

Latest update: 8-sep-09

Search provided by Google.com
Roumazeilles.net
Roumazeilles.net