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,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c360d0cfa1003043 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-04 21:32:08 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: Novice Ada Programmer Stumped By Simple Type Declaration! Date: 4 Oct 2001 21:32:08 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0110042032.57d94ad8@posting.google.com> References: <3BBCB63C.96E484EA@san.rr.com> NNTP-Posting-Host: 205.232.38.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1002256328 2278 127.0.0.1 (5 Oct 2001 04:32:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 5 Oct 2001 04:32:08 GMT Xref: archiver1.google.com comp.lang.ada:13762 Date: 2001-10-05T04:32:08+00:00 List-Id: Ted Dennison wrote in message news:... > A good first step in any such problem is to get rid of all use clauses and try > to resolve things with full named notation. (I'd also claim that's a good first > step in *any* situation, but it really is true here :-) I disagree, I think this is relatively unhelpful advice here. > > It looks like you should be calling URI_Pkg.URI_List_Pkg.Append. But from the > message you gave, I'm guessing it found it but couldn't resolve the overload. It > could be that your compiler (Gnat?) was getting confused because you had two > Unbounded_Array's defined in its scope: The compiler is not "confused", it merely follows the rules of Ada, you really should not imply that somehow the processing of Ada text has some kind of random behavior depending on whether the compiler gets confused or not. If you are confused, then that's one thing, but it does not help to suggest that this confusion is part of the language :-) For the trivial solution to the problem, see the next posted message!