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 X-Received: by 2002:a37:7fc7:: with SMTP id a190mr29537464qkd.351.1570546387151; Tue, 08 Oct 2019 07:53:07 -0700 (PDT) X-Received: by 2002:a05:6830:4d9:: with SMTP id s25mr6472156otd.5.1570546386842; Tue, 08 Oct 2019 07:53:06 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!o24no8762474qtl.0!news-out.google.com!x7ni1276qtf.0!nntp.google.com!o24no8762471qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 8 Oct 2019 07:53:06 -0700 (PDT) In-Reply-To: <1516f9bd-4790-45be-af7a-8df61022a495@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=47.185.223.245; posting-account=zwxLlwoAAAChLBU7oraRzNDnqQYkYbpo NNTP-Posting-Host: 47.185.223.245 References: <1c12f540-00b8-4be8-bfc6-13ad31d9916c@googlegroups.com> <96d5218a-2714-40dd-988d-10c7d27a96a2@googlegroups.com> <665a8b5e-533e-4df6-a1c1-7a4c257ea277@googlegroups.com> <50fceebb-c48e-4b38-b0f5-2318672a70c1@googlegroups.com> <58103920-4692-46b8-9426-e5a85fa04e77@googlegroups.com> <1516f9bd-4790-45be-af7a-8df61022a495@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <910cbe74-b78b-460a-94e3-6eee002fb9a4@googlegroups.com> Subject: Re: GNAT: no visible subprogram matches the specification for "Put" From: Optikos Injection-Date: Tue, 08 Oct 2019 14:53:07 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:57260 Date: 2019-10-08T07:53:06-07:00 List-Id: On Tuesday, October 8, 2019 at 5:01:56 AM UTC-5, Vincent Marciante wrote: > On Monday, October 7, 2019 at 3:01:42 PM UTC-4, briot....@gmail.com wrote= : > > > I have had this problem forever too, but I was told by the GNAT and Ada > > experts that this was actually expected behavior, though I can never re= member the corresponding parts of the LRM. >=20 > > =20 > > This is a pain point when using generics. >=20 > New info: The code works with Object Ada: compiles it without error and > the executable runs as expected! Excellent work! > If the standard in fact requires disallowence, I wonder what "bad" thing = is > being prevented/avoided by not allowing the naturally expected, non-painf= ul > behavior. Might changing the standard to allow it - or be clear that it = is allowed - be warranted?=20 Because you can clearly demonstrate 2 different compiler-vendors' diametric= ally opposing interpretation of the AARM's current wording on this topic, y= ou =E2=80=A2must=E2=80=A2* submit an AI to the ARG to clarify this. Hopefu= lly, they will wholeheartedly endorse the ObjectAda interpretation, unless = further evidence & reasoning reveals that GNAT's apparent bug is actually t= he wiser interpretation for some useful purpose. * for the good of the future Ada community Better yet, request permission & minor funding from your employer to join t= he ARG to contribute user-community frustrations (as a pull for better Ada)= to supplement the current well-represented population of compiler & tools = vendors (as a push for better Ada). stick: Even better, create a open-source community of drastically stronger test ca= ses for every word, sentence, and paragraph in the AARM. Rosetta-stone int= erlanguage competitions between Ada and other languages are cute, but havin= g an enormous treasure trove of demonstrations of every microfeature of Ada= would be an educational goldmine as well as a beneficial environmental Dar= winian survival-of-the-fittest stressor on every line of compiler source co= de at all Ada compiler vendors and on every word/phrase/sentence/paragraph/= section of the AARM at ARG. Perfection is achieved by purification by fire= . carrot: Even better still, do whatever you can to encourage a strong well-funded co= mpetitor to GNAT to emerge (even if you must fork GNAT to do so, as a last = resort).