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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ee06257af909a235 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.germany.com!news.ecp.fr!ciril.fr!news.cs.univ-paris8.fr!proxad.net!cleanfeed4-b.proxad.net!nnrp16-1.free.fr!not-for-mail Return-Path: Date: Thu, 10 May 2007 07:38:43 +0200 From: "Grein, Christoph (Fa. ESG)" Subject: AW: Finalization of static package variables In-reply-to: <4642493f@news.upm.es> To: comp.lang.ada@ada-france.org MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 Content-Type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-class: urn:content-classes:message Importance: normal Priority: normal Thread-topic: Finalization of static package variables Thread-index: AceSiaGf5SrAASX4RwCbBa3UDhkuQwAOviNw X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 10 May 2007 05:38:41.0028 (UTC) FILETIME=[77408C40:01C792C5] X-Virus-Scanned: amavisd-new at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.9rc1 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.ada Message-ID: X-Leafnode-NNTP-Posting-Host: 88.191.17.134 Organization: Guest of ProXad - France NNTP-Posting-Date: 10 May 2007 07:40:03 MEST NNTP-Posting-Host: 88.191.14.223 X-Trace: 1178775603 news-2.free.fr 7500 88.191.14.223:34388 X-Complaints-To: abuse@proxad.net Xref: g2news1.google.com comp.lang.ada:15705 Date: 2007-05-10T07:40:03+02:00 When the main task terminates, all variables and constants go out of scope, so also static variables and constants (those declared immediately within library units, whether allocated by declaration or via an allocator) are finalized. If this is not the case with your compiler, it has a bug. The latest Gnat 6.0.1 does finalize everything. Eurocopter Deutschland GmbH Sitz der Gesellschaft/Registered Office: Donauwoerth Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508 Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling Geschaeftsfuehrung/Board of Management: Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt CONFIDENTIALITY NOTICE This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful. If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much. It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.