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 Path: g2news1.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!solnet.ch!solnet.ch!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <43F7728E.4090909@obry.net> Date: Sat, 18 Feb 2006 20:16:30 +0100 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Newsgroups: comp.lang.ada To: Simon Wright Subject: Re: Quick question about Ada code formatting. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 18 Feb 2006 20:16:32 CET NNTP-Posting-Host: 82.124.243.72 X-Trace: 1140290192 news.wanadoo.fr 18337 82.124.243.72:3375 X-Complaints-To: abuse@wanadoo.fr Xref: g2news1.google.com comp.lang.ada:2960 Date: 2006-02-18T20:16:32+01:00 List-Id: Simon Wright a �crit : > What always baffles me is how people will *not* train themselves to do > what the style checker expects, and will *not* just fix the style > warnings as they go. To enforce it is possible to use a server side checker before the commit is accepted (Subversion pre-commit hook for example). I'm going this way for the moment just for this reason ;) Use the -gnaty (with your style checks setting) plus the -gnats (syntax only). Some checks can't be do at the syntax level like -gnatyr for example and -gnats but yet it is a step forward. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595