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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ce80c96b46825a21,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!t7g2000vbv.googlegroups.com!not-for-mail From: iloAda Newsgroups: comp.lang.ada Subject: Using the Hash function Date: Thu, 21 Jul 2011 07:40:16 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 137.194.2.20 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1311259556 11069 127.0.0.1 (21 Jul 2011 14:45:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 21 Jul 2011 14:45:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t7g2000vbv.googlegroups.com; posting-host=137.194.2.20; posting-account=r1a26AoAAAD4nbikbegb_8j7mwzetiwY User-Agent: G2/1.0 X-HTTP-Via: 1.1 proxy1.enst.fr (squid) X-Google-Web-Client: true X-Google-Header-Order: HRUAELSCVFNK X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20267 Date: 2011-07-21T07:40:16-07:00 List-Id: Hello everybody!! I am trying to use the hash function of the Unbounded_Strings package! Here's the code (very simple): 1 function Unbounded_String_Hash 2 (U_Str : Ada.Strings.Unbounded.Unbounded_String) 3 return Ada.Containers.Hash_Type 4 is 5 6 begin 7 8 return Ada.Strings.Unbounded.Hash (U_Str); 9 end Unbounded_String_Hash; I is giving me the following error on line 8 when I try to compile: missing "with Unbounded.Hash"; Can anybody tell me what's going on (knowing that Unbounded.Hash isn(t an existing package)!! Thanks Elie