https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64548
--- Comment #4 from simon at pushface dot org --- (In reply to Arnaud Charlet from comment #3) > I would suggest you do not use 'private with' if you write your own runtime, > since this isn't supported by the compiler when building the runtime. > > See other recommendations under PR64866. > > In other words, the runtime itself cannot follow Ada's visiblity rules (this > would cause too many issues within the compiler). OK, thanks for the suggestions.