Dubious "'foo' might be used uninitialized in this function" message
Robert Dewar
dewar@adacore.com
Wed Dec 15 18:00:00 GMT 2004
Florian Weimer wrote:
> Oh, wait, it's a generic unit. I think warnings are issued in
> multiple places. 8-
Yes, it is fundamental to this example that it is a generic. This
case does not arise for non-generic packages. The point is that
the generic formals can ONLY be referenced in the parent generic
or one of its children, they cannot be referenced by clients.
More information about the Gcc
mailing list