From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: Overload of functions in a task stack
Date: Mon, 3 May 2010 16:53:32 -0700 (PDT)
Date: 2010-05-03T16:53:32-07:00 [thread overview]
Message-ID: <a4179dee-f23c-489b-9695-166460597b1b@u30g2000prd.googlegroups.com> (raw)
In-Reply-To: 3d6d6fdc-83a5-41c1-b297-dace3051ff3b@o14g2000yqb.googlegroups.com
On May 3, 10:57 am, Pablo <pablit...@gmail.com> wrote:
> 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
I believe use Clause of more than one package containing function
Answer is involved. The simple fix is to replace use Clause with full
qualification.
Anh Vo
next prev parent reply other threads:[~2010-05-03 23:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-03 17:57 Overload of functions in a task stack Pablo
2010-05-03 23:53 ` Anh Vo [this message]
2010-05-10 17:30 ` Warren
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox