On Tue, 27 Nov 2012 12:10:27 +0800
Tito Mari Francis Escaño <titomarifran...@gmail.com> wrote:

> Good day,
> I'm trying to re-learn ANSI C as part of the effort to write a book
> for beginners or intermediate level. I'm thinking of including the
> use of ANSI C code compliance checker, similar to PHP CodeSniffer,
> that detects whether a given C program file complies with a coding
> standard. Can you please give me pointers what tools OpenBSD
> developers use for this purpose? I understand that indent is used to
> format a given program file, but how about detecting whether a given
> file is coding standard compliant? I hope you can advise me on this.
> Thanks.
> 

If I understand your request correctly, why not use gcc's -ansi and
-pedantic when compiling your code? 

-- 

Rares Aioanei

Reply via email to