This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/64866] Lost visibility of package Interfaces after task or PO declaration


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64866

--- Comment #4 from simon at pushface dot org ---
(In reply to Arnaud Charlet from comment #2)
> Visibility in the Ada runtime do not follow standard Ada rules. In other
> words,
> the Ada runtime isn't implemented in Ada, but in a different dialect very
> close
> to Ada, with additional restrictions.
> 
> In particular there should be no 'use' clause in the spec of any runtime
> packages
> (this part is fine in your patch), but there should be also no visibility on
> non system or interfaces packages, which is violated by your custom
> implementation. I would suggest you move your implementation under System.*
> to
> solve this issue.

Iâve revised my demonstrator, see attachment âRevised demonstratorâ.

The problem is still there.

The cure proposed in comment #1 is required to solve the issue in this case
also.

I will of course adopt your suggestion, thanks very much. Is there any
documentation of this restricted dialect of Ada? Does it include âdonât use
âprivate withââ?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]