From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,269b6d3e3954b114 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-26 08:33:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: GNAT internals question Date: 26 Jun 2002 11:15:11 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1025104979 9441 128.183.220.71 (26 Jun 2002 15:22:59 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 26 Jun 2002 15:22:59 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:26716 Date: 2002-06-26T15:22:59+00:00 List-Id: sk writes: > Also, any knowledge or "gotchas" concerning the GNAT > "pragma No_Run_Time" ? I've just started using it. It seems to work. There are a couple constructs that apparently require run-time support that the pragma does not catch; mainly to do with returning unconstrained arrays on the stack (like function foo return string). I discovered those missing functions at link time; it wasn't too hard to find the offending constructs. If your actual OS supports those constructs, you won't notice this. I guess I should put in a bug report, but I did this on an unsupported platform, and I'm not paying for support for No_Run_Time, so I haven't yet :). -- -- Stephe