From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8b756d9a0afb052a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!news.cs.univ-paris8.fr!newsfeed.vmunix.org!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Quick question about Ada code formatting. Date: Sun, 19 Feb 2006 00:10:32 +0000 Organization: Pushface Message-ID: References: <43F7915B.3090000@obry.net> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1140307833 24902 62.49.19.209 (19 Feb 2006 00:10:33 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sun, 19 Feb 2006 00:10:33 +0000 (UTC) Cancel-Lock: sha1:nV1yAUWrda06QCUdu+mP+HPdBJE= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news1.google.com comp.lang.ada:2971 Date: 2006-02-19T00:10:32+00:00 List-Id: Pascal Obry writes: > Yes AdaControl from J.P. Rosen and gnatcheck from AdaCore. But -gnaty > (when using GNAT) is the enforcement at the compilation level before > anything is checked-in. I always use it with -gnatw (warnings) and most > importantly with -gnatwe (warnings are error) so GNAT will refuse to > compile code. A nice way to force people to use the right style ;) Of > course I have seen some developers editing the project file to remove > options like -gnaty, -gnatwe :( ... that's why I'm going to enforce the > rules at the repository level where I have full control. Of course you will always find the bozo who discovers pragma Style_Checks (Off); and puts it at the start of his source file. I was spitting tacks when I discovered that ..