Package: gnat-4.4
Version: 4.4.2-4
When compiling a project that includes Ada.Finalization with the
compiler option -gnatyO, I get the following errors:

s-pooglo.ads:56:13: (style) missing "overriding" indicator in declaration of 
"Storage_Size"
s-pooglo.ads:60:14: (style) missing "overriding" indicator in declaration of 
"Allocate"
s-pooglo.ads:66:14: (style) missing "overriding" indicator in declaration of 
"Deallocate"
a-filico.ads:53:14: (style) missing "overriding" indicator in declaration of 
"Finalize"
a-filico.ads:99:14: (style) missing "overriding" indicator in declaration of 
"Initialize"
a-filico.ads:100:14: (style) missing "overriding" indicator in declaration of 
"Finalize"

One workaround is to not use -gnatyO, but it is a very useful option.

The fix is to add the missing keywords and recompile the library.

-- 
-- Stephe



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to