On 6/1/2013 9:52 AM, Jakub Jelinek wrote:
Sorry for nitpicking, but there are various formatting issues.
A number of these formatting issues could be easily detected by the compiler. It might be really useful to add a switch to do such detection. For Ada, the GNAT compiler has -gnatyg which enables standard style checking according to our coding standards for Ada, and we find this saves a lot of time as well as avoiding style errors getting into the code base (this kind of nitpicking style error detection is more easily done by a machine than a human). Of course not all stlye errors can be easily handled, but a lot of them can!