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 X-Google-Thread: 103376,3a414836333dfef7,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-28 04:56:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.213.69.151!news.algonet.se!newsfeed1.telenordia.se!algonet!uab.ericsson.se!erinews.ericsson.se!newstoo.ericsson.se!not-for-mail From: Frode Tenneboe Newsgroups: comp.lang.ada Subject: Elaboration in GNAT Date: 28 Nov 2001 12:34:37 GMT Organization: Ericsson Radar AS Message-ID: <1006952193.650930@edh3> NNTP-Posting-Host: edh3.edh.ericsson.se Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (SunOS/5.8 (sun4u)) Cache-Post-Path: edh3!unknown@alne X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: archiver1.google.com comp.lang.ada:17101 Date: 2001-11-28T12:34:37+00:00 List-Id: Using -gnatwa I get some elaboration issues with some legacy code in GNAT. One of these are: foo.adb:69:04: warning: instantiation of "Client" may raise Program_Error foo.adb:69:04: warning: missing pragma Elaborate_All for "bar" The problem is that this crops up everywhere which I asume is because the elboration of package bar is not very healthy. The package in question uses Ada.Calendar, however there must be some code in one (or more) of the dependencies in the body of bar which causes this. A manual inspection of this code is not done over night. Is there a way of getting the information above a bit more verbose? -Frode -- ^ Frode Tenneb� | email: ft@edh.ericsson.se ^ | Ericsson Radar AS. N-1788 Halden | | | Phone: +47 69 21 41 47 | Frode@IRC | | with Standard.Disclaimer; use Standard.Disclaimer; |