From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: * X-Spam-Status: No, score=1.5 required=3.0 tests=BAYES_50,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS autolearn=no autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a05:620a:898:: with SMTP id b24mr12541958qka.269.1612702612802; Sun, 07 Feb 2021 04:56:52 -0800 (PST) X-Received: by 2002:a25:57d6:: with SMTP id l205mr6467337ybb.363.1612702612603; Sun, 07 Feb 2021 04:56:52 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer04.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 7 Feb 2021 04:56:52 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=85.241.60.12; posting-account=rhqvKAoAAABpikMmPHJSZh4400BboHwT NNTP-Posting-Host: 85.241.60.12 References: <2241c895-8d4d-40fc-bf42-aa1c3daa0167n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4360fbab-d22f-4a21-bc9b-aebe6b3c1faan@googlegroups.com> Subject: Re: compiler confusion, overloading and "subtype mark required in this context" From: Mehdi Saada <00120260a@gmail.com> Injection-Date: Sun, 07 Feb 2021 12:56:52 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2077 Xref: reader02.eternal-september.org comp.lang.ada:61310 List-Id: > If I count corretctly, looks like a closing ) is missing at the end. Thus in the else part, you have > Rational*Integer. Ahhhh... I'm not used to these kinds of error messages ! I kinda understand what happened later in functions then... just kind :-) Experiences makes good eyes... well I see myself getting better at it too. > Here you have Positive as a type name and as an enumeration literal. I saw, but it seemed to me the context was clear enough, I'm surprised gnat doesn't agree with me. I'll say "thanks" when I'll have get rid of this: [2021-02-07 12:47:18] Could not convert compiler output to UTF8 I did see a post about it, somewhat, but... way too long, so is there a quick fix to add project properties or whatnot ? I think it happened by copying from a pdf.