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: a07f3367d7,99c3f341deeb2ba1,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!o14g2000yqb.googlegroups.com!not-for-mail From: Pablo Newsgroups: comp.lang.ada Subject: Overload of functions in a task stack Date: Mon, 3 May 2010 10:57:18 -0700 (PDT) Organization: http://groups.google.com Message-ID: <3d6d6fdc-83a5-41c1-b297-dace3051ff3b@o14g2000yqb.googlegroups.com> NNTP-Posting-Host: 201.7.145.1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1272909438 25458 127.0.0.1 (3 May 2010 17:57:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 3 May 2010 17:57:18 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o14g2000yqb.googlegroups.com; posting-host=201.7.145.1; posting-account=n9Sa1woAAACZc_iwSjaEkj9Lnt-XVrSr User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:11305 Date: 2010-05-03T10:57:18-07:00 List-Id: Hi, I have a function called Answer defined in several packages (each one is different according to the own package), and each function Answer is called by a permanent task every cycle. The issue is that when I compile some packages, the compiler bugs me informing "warning: declaration of "Answer" hides one at (...)". So, is there a way to define these overload functions in a "secure" way that I do not need to use pragma Warnings (OFF) to avoid these warnings? Thanks