On 2023-12-09 15:33, Kevin Chadwick wrote:
On 09/12/2023 14:16, Kevin Chadwick wrote:
I shall go with doing the above per package for Gnat.Source_Info.File and
wrapping the Gnat.Source_Info.Line procedure with one marked with Global => >> null.
Doh...Of course I can't wrap Line, ha ha. If I want the right line.
Perhaps
private with Gnat.Source_Info;
package Source_Line_Info with SPARK_Mode is
function Line ... with Global => null;
private -- Source_Line_Info
pragma SPARK_Mode (Off);
function Line ... renames Gnat.Source_Info.line;
end Source_Line_Info;
(Untested)
--
Jeff Carter
"Unix and C are the ultimate computer viruses."
Richard Gabriel
99
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)