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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED.N5M2DXr2fJIsm61cKlUWUQ.user.gioia.aioe.org!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: how to be informed where to put spaces Date: Sat, 09 Nov 2019 19:54:11 +0000 Organization: Aioe.org NNTP Server Message-ID: References: <915d1eda-e6fb-4eb5-a11a-6e097d4bf846@googlegroups.com> NNTP-Posting-Host: N5M2DXr2fJIsm61cKlUWUQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:pK0J8V57EzQJTQALivzF+wrS8jc= X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader01.eternal-september.org comp.lang.ada:57536 Date: 2019-11-09T19:54:11+00:00 List-Id: gautier_niouzes@hotmail.com writes: > If you type gnatmake without parameters, you get a long list of > options, among them: > > -gnatyxx Enable selected style checks xx = list of parameters: > > among those: > c check comment format (two spaces) > C check comment format (one space) I've always gone with just -gnaty -- quite adequate. Occasionally you'll see projects with an enormous list of parameters, I have a feeling that at some point GPS used to create these massive lists, or maybe it's just that there's no option in GPS to just use the standard settings. If you're the sort of person who likes long lines, -gnatM120, for example, won't complain until yu hit 120 columns, rather than the default 79.