You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Newer versions of GNAT require generic parameters to be marked as Ghost if they're ghost subprograms. If a ghost function is passed as a generic parameter, previously it had been done the same way as with a regular function:
With newer GNAT versions such a parameter has to be explicitly marked as Ghost:
genericwithfunctionSome_Ghost_Functionreturn Boolean with Ghost;
packageSome_Packageis
This behaviour is a problem in RecordFlux in the RFLX.RFLX_Message_Sequence package as the function Element_Initialized is usually ghost. Adding with Ghost would solve the problem but also breaks compatibility with older compilers. The fix here is to remove the Ghost aspect from the Initialized function of messages.
The text was updated successfully, but these errors were encountered:
Newer versions of GNAT require generic parameters to be marked as
Ghost
if they're ghost subprograms. If a ghost function is passed as a generic parameter, previously it had been done the same way as with a regular function:With newer GNAT versions such a parameter has to be explicitly marked as
Ghost
:This behaviour is a problem in RecordFlux in the
RFLX.RFLX_Message_Sequence
package as the functionElement_Initialized
is usually ghost. Addingwith Ghost
would solve the problem but also breaks compatibility with older compilers. The fix here is to remove theGhost
aspect from theInitialized
function of messages.The text was updated successfully, but these errors were encountered: