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,a589e934282bf3d5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.71.MISMATCH!xlned.com!feeder3.xlned.com!feeder.erje.net!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: ANN: Simple components for Ada v3.9 Date: Tue, 13 Jul 2010 20:20:00 +0100 Organization: A noiseless patient Spider Message-ID: References: <177tljo9yd2wc$.iq67ky4xvjrg$.dlg@40tude.net> <1qyb3t69th9fx.1xxao6etfmeuf.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 13 Jul 2010 19:20:00 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="24535"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Fq/wy+bphVOIBJQg0x201M5+QH+SuFgc=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:ftdbaUhGuCwmgWXSwxPvcFVvpT0= sha1:R/uIqOyoUW2KTYDLDWsSDaGF6f4= Xref: g2news1.google.com comp.lang.ada:12399 Date: 2010-07-13T20:20:00+01:00 List-Id: "Dmitry A. Kazakov" writes: > On Tue, 13 Jul 2010 05:45:11 -0700 (PDT), Ludovic Brenta wrote: >>> P.S. In any case in order to use the persistent layer of Simple Components, >>> the gcc 4.4 must be fixed first. The current version has controlled types >>> broken and some other severe issues. >> >> Wow, that's a pretty grave problem; if what you say is true, a fix in >> the stable GCC 4.4 branch is justified. What is the bugzilla number >> for this bug? > > There are several. For example this one: With GCC 4.5.0 and with GNAT GPL 2010 (both on Mac OS X Snow Leopard) this program produces $ ./controlled_array Count 1 Successful finalization Successful finalization Successful finalization With GNAT GPL 2010, -gnat05 is required: GNATMAKE GPL 2010 (20100603) Copyright (C) 1995-2010, Free Software Foundation, Inc. gcc -c -O2 controlled_array.adb controlled_array.adb:9:04: overriding indicator is an Ada 2005 extension controlled_array.adb:9:04: unit must be compiled with -gnat05 switch controlled_array.adb:26:04: overriding indicator is an Ada 2005 extension controlled_array.adb:26:04: unit must be compiled with -gnat05 switch controlled_array.adb:27:04: overriding indicator is an Ada 2005 extension controlled_array.adb:27:04: unit must be compiled with -gnat05 switch End of compilation