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!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Thu, 23 Feb 2006 00:13:58 +0100 From: Georg Bauhaus Organization: future apps GmbH User-Agent: Debian Thunderbird 1.0.2 (X11/20051002) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Quick question about Ada code formatting. References: <43f74bc0$0$13593$9b4e6d93@newsread2.arcor-online.net> <43f87015$0$13609$9b4e6d93@newsread2.arcor-online.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <43fcf028$0$13611$9b4e6d93@newsread2.arcor-online.net> NNTP-Posting-Date: 23 Feb 2006 00:13:48 MET NNTP-Posting-Host: 7a855847.newsread2.arcor-online.net X-Trace: DXC=K>I7KiP1?0I78\m5cj:Q5U85hF6f;4jW\KbG]kaM8Qc4L4[MA2T0F8Vh=JL_3>;UUng9_FXZ=3>:=P9Ihe`B8@Z?dZ]MOid5 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:3082 Date: 2006-02-23T00:13:48+01:00 List-Id: Stephen Leake wrote: > These are separate warnings; one is -gnatys, the other -gnatyt. The warnings aren't separate in the sense that GNAT characterizes both as "(style)", but one style is writing a spec or not, the other style refers to typography, i.e. content versus form. > I guess you would rather have -gnatzs, and -gnatyt? I don't see the > point. I'd rather have -gnatY and -gnaty where the first is for checking Ada language style, and the other for checking layout etc.. A possible thing for -gnatY to achieve could be something like the following (don't know if this easily added to GNAT, or in fact already present): blue.ads: 5: (Y-style) use clause for Ada.Text_IO is not needed with Ada.Text_IO; package Blue is use Ada.Text_IO; subtype File_Type is Ada.Text_IO.File_Type; end Blue;