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,c1983ae2deb642ab X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-25 00:41:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Ada -vs- GNAT Date: Sat, 25 May 2002 07:41:27 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1022312487 1308 129.241.83.82 (25 May 2002 07:41:27 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Sat, 25 May 2002 07:41:27 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:24728 Date: 2002-05-25T07:41:27+00:00 List-Id: On Sat, 25 May 2002 02:47:52 GMT, Steve Doiel wrote: > > Recently I did some work with XML/Ada and found a few pieces code dependent > on the GNAT specific attributes 'img and 'unrestricted_access. I was able > to make the code work with ObjectAda (and any other Ada compiler) by making > a few small changes to the sources. I think you should submit it to the developers of XML/Ada so they can use it. The point is that sometimes things gets more easy and portable if you use GNAT. Especially IO operations on different platforms. At the moment I use some GNAT procedures in my program due to this. But of course if somebody else would like to compile it (when I release it) with a different compiler, then I would really like to have a copy of the changes they did to make it compiler independant. The 'Img I only use for debugging purposes as it is faster to put in a Put_Line (Some_Value'Img) which will be removed as soon as I locate the problem. Preben