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 03:52:00 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn1feed!worldnet.att.net!4.24.21.153!chcgil2-snh1.gtei.net!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Ada -vs- GNAT Date: 25 May 2002 05:51:44 -0600 Organization: LJK Software Message-ID: References: NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1022323906 4809 192.135.80.34 (25 May 2002 10:51:46 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Sat, 25 May 2002 10:51:46 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:24742 Date: 2002-05-25T05:51:44-06:00 List-Id: In article , Simon Wright writes: > "Steve Doiel" writes: >> 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. > > Which seems a reasonable idea. I (hope I) have removed all "'Img"s > from the Booch Components, which are meant to be, and to a large > extent are, compiler-independent. On the other hand, given that GNAT > is my preferred compiler (for all sorts of reasons), I felt quite > happy to use 'Object_Size when appropriate. It would be best if GNAT had a simple compiler option to say: Complain about use of any non-standard features. I am not in a position to say whether GNAT currently has such an option.