comp.lang.ada
 help / color / mirror / Atom feed
* Gnat: silly warning - how to eliminate?
@ 2003-01-27  0:32 Victor Porton
  2003-01-29  6:31 ` Simon Wright
  0 siblings, 1 reply; 2+ messages in thread
From: Victor Porton @ 2003-01-27  0:32 UTC (permalink / raw)


I declare a procedure in a _package body_ only for internal use:

procedure Get_Element renames Element;
-- to eliminate glitch with formal parameter names

Gnat 3.14p gives warning:
warning: not dispatching (must be defined in a package spec)

How to eliminate this silly warning (to not pollute the compiler 
output) without turning off all warnings? (Yes, I readied RTFM.)

Maybe to chnge the source? How?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-29  6:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-27  0:32 Gnat: silly warning - how to eliminate? Victor Porton
2003-01-29  6:31 ` Simon Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox