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-Thread: 103376,b2b519fb2d20e8d1 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.50.133 with SMTP id c5mr50743572pbo.2.1317451157770; Fri, 30 Sep 2011 23:39:17 -0700 (PDT) Path: lh7ni8851pbb.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Current statu of ASIS for GNAT 2012, please ? Date: Sat, 01 Oct 2011 07:39:15 +0100 Organization: A noiseless patient Spider Message-ID: References: <87sjngwoo6.fsf@ludovic-brenta.org> <87fwjev9su.fsf@ludovic-brenta.org> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="13970"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184+NnDhkjH9JQHbU/F1AZgrGYmg6pG0FY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:caoP77pS5FqqH5e0PaA3VKv7fqQ= sha1:53vzHQGNh+uBwRdHdbpfzSKhGpQ= Xref: news1.google.com comp.lang.ada:18257 Content-Type: text/plain; charset=us-ascii Date: 2011-10-01T07:39:15+01:00 List-Id: Ludovic Brenta writes: > Debian solves that problem by introducing libgnatvsn, a library > compiled from GCC sources and containing gnatvsn.ads, sinfo.ad[bs], > snames.ad[bs] and everything they depend on. libasis is compiled > against libgnatvsn. AFAICT, asis 2010 works with gnat-4.6 on Debian > but I'd like to have a good test case. Simon, could you explain how > you got the Tree_Format_Error exceptionss so I can try the same thing > that you did? This turned out to be my mistake; as Ludovic implies, you need to replace the whole of the asis-2010 gnat/ directory by the corresponding files from the compiler you're actually using. I still think that if the tree format version number hasn't changed you shouldn't get Tree_Format_Error exceptions! but everyone's human, after all. There are a couple of things in the ASIS code that aren't supported by GCC 4.6; "Name_Implemented_By_Entry" and "Is_Overriding_Operation". Not sure how these will affect users, though. I'll be writing this up properly soon.