in reply to Re: simple C checking script
in thread S simple C checking script
OK, then a combined check.. with first pass to be for .c and .h then maybe a compile check... well it`s a very scratch of code I typed for 1-2 mins it came in my head, there can be more additions like using C`s -Wall or maybe valgrind too but it becames complicated by parsing valgrind and yes, C++ can be build with gcc, but since C++ is an additon of C... I don`t know why parsing a C file rather than C++, actually, it`s no trivial task if he intends to do it in complete. Matching .c and .h could output any code inside it, java, perl, c++... what is stopping you writing javascript in .c file?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: simple C checking script
by Ratazong (Monsignor) on Mar 28, 2012 at 10:54 UTC |