[gtkada] What is: pragma Unreferenced ?
Stephen Leake
stephen_leake at acm.org
Fri Jul 18 18:16:41 CEST 2003
Preben Randhol <randhol at pvv.org> writes:
> When I use Gnat 3.14p I get:
>
> gtk-handlers.adb:347:10: warning: unrecognized pragma "Unreferenced"
pragma Unreferenced is a new compiler-specific pragma, available in
gnat 3.15p and later.
It specifies that an object (usually a subprogram parameter) is
deliberatly unreferenced; the compiler warns you if you later
reference it. Helps with code readability.
You can safely ignore it with gnat 3.14p. But why not upgrade?
--
-- Stephe
More information about the gtkada
mailing list