Sugesstion on gcc compiler
Siddharth
siddharth.k@ap.sony.com
Thu Jul 3 11:02:00 GMT 2003
Hi,
First of all let me appreciate the entire GNU team for there efforts in
providing such a utility.It is a great work of great utility.Thanks a
lot for providing such a thing.
In order to further strengthen the compiler I have one suggestion for gcc
compiler.
Frequently while development it becomes necessary to ensure that the coding
guide lines are followed all through out.For this there needs to
be additional efforts spend for reviewing the code.Is it possible for
compiler to check the same?
Basically what needs to be done to check the conformance to standards is
parse the code/program and check the conformance to standards.The
compiler while compiling will any way parse the code so it will be easy for
compiler to check the coding guideline conformance as well .Compiler
might report non conformance through either error or warning depending upon
the settings.
The issue that might be a hindrance for providing this support from compiler
is the fact that every organization might have there own coding
standards.This issue can be addressed by providing the compiler the
information on what all needs to be checked as a part of coding
standards through some predetermined format.
I think this would be of great help to developers and save lot of time in
reviews later.
Kindly can you let me know the feedback on this suggestion.Also kindly let
me know in event of the suggestion not being clear.I will be happy
redrafting the same
Regards
Siddharth
More information about the Gcc
mailing list