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,221c61113210e0ef X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.227.67 with SMTP id ry3mr1138199pbc.8.1343425247531; Fri, 27 Jul 2012 14:40:47 -0700 (PDT) Path: c10ni43952pbw.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Patrick Newsgroups: comp.lang.ada Subject: Re: astyle/cindent for Ada? Date: Fri, 27 Jul 2012 14:40:46 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9393e18c-212b-4dba-b2bc-4970800a8f25@googlegroups.com> References: <2df5566c-c219-4226-b41e-78ed47190bc4@googlegroups.com> <87txwtp074.fsf@ludovic-brenta.org> NNTP-Posting-Host: 70.53.16.194 Mime-Version: 1.0 X-Trace: posting.google.com 1343425247 637 127.0.0.1 (27 Jul 2012 21:40:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 27 Jul 2012 21:40:47 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.53.16.194; posting-account=cUi90woAAADTaOISowbbHM8GUD0-opJO User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-27T14:40:46-07:00 List-Id: Hi Ludovic I would be the one to post the bug report only I have switch distros so many times I can't be sure what the set up was when I observed this. I am having problems as well with fsf gnat. I have a simple ada file I ran with this on Xubuntu: gnatpp first_procedure.adb I got this result: gnatpp: No rule to check specified gnatcheck: the GNAT rule checking tool usage: gnatcheck [options] {filename} {-files=filename} [-cargs gcc_switches] -rules rule_switches options: -a - process RTL units -d - debug mode -dd - progress indicator mode (for use in GPS) -h - print out the list of the currently implemented rules -mn - n is the maximum number of diagnoses in Stdout (n in 0 .. 1000, 0 means no limit) -q - quiet mode (do not report detections in Stdout) -t - report execution time in Stderr -v - verbose mode -log - duplicate all the messages sent to Stderr in log file gnatpp.log -s - short form of the report file --include-file=filename - add the content of filename into generated report -o filename - specify the name of the report file filename - the name of the Ada source file to be analyzed. Wildcards are allowed -files=filemane - the name of the text file containing a list of Ada source filesto analyze gcc_switches - a list of switches that are valid switches for gcc rule_switches - a list of the following switches -from=filename - read rule options from filename +ALL - turn all the rules ON -ALL - turn all the rules OFF +R[:param] - turn ON a given rule [with given parameter] -R - turn OFF a given rule -R:param - turn OFF some of the checkS for a given rule, depending on the specified parameter where - ID of one of the currently implemented rules, use '-h' for the full list param - string representing parameter(s) of a given rule, more than one parameter can be set separated by ',' I did the same with the GNAT binary from Adacore and it formatted the code differently. Have I done something stupid or is gnatpp not enabled in my gnat version? I can post this bug if it is helpful-Patrick