{"id":171,"date":"2006-05-01T11:28:09","date_gmt":"2006-05-01T10:28:09","guid":{"rendered":"http:\/\/www.roumazeilles.net\/news\/en\/wordpress\/2006\/05\/01\/how-to-clean-c-source-code-fast\/"},"modified":"2019-02-09T20:32:49","modified_gmt":"2019-02-09T18:32:49","slug":"how-to-clean-c-source-code-fast","status":"publish","type":"post","link":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/2006\/05\/01\/how-to-clean-c-source-code-fast\/","title":{"rendered":"How to clean C source code (fast)"},"content":{"rendered":"<p>The old tricks for cleaning your C code of most of its unwanted ugliness:<\/p>\n<ul>\n<li>Run PC-Lint on the code.<\/li>\n<li>Run LCLint on the code.<\/li>\n<li>Run <code>CL \/W4 \/Za \/Ox<\/code> on the code (with your usal compiler, optimization finds many bugs not found without)<\/li>\n<li>Run <code>GCC -O3 -Wall -ansi -pedantic<\/code> on the code.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-software"],"_links":{"self":[{"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":0,"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}