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,8247c32bb1260c74 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-22 10:25:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Q re pack & aliased Date: 22 Apr 2003 13:23:49 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1051033118 5678 128.183.235.92 (22 Apr 2003 17:38:38 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 22 Apr 2003 17:38:38 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:36355 Date: 2003-04-22T17:38:38+00:00 List-Id: tmoran@acm.org writes: > I have pre-Gnat 3.15p programs that ran with 24 bit pixels, so this > is apparently a new problem. Would someone with a newer Gnat please > try the program below? stephe@anarres$ gnatmake -v testpack.adb GNATMAKE 3.16a (20030120) Copyright 1995-2002 Free Software Foundation, Inc. "testpack.ali" being checked ... -> "testpack.ali" missing. gcc -c testpack.adb testpack.adb:6:03: warning: pragma "pack" ignored, cannot pack aliased components testpack.adb:7:03: warning: "x" is never assigned a value End of compilation Sorry. Apparently ACT felt the need to improve efficiency somewhere. There may be a compiler switch to get back the old behavior. You could try reporting it to report@gnat.com as a regression. I don't have any older gnat versions handy. -- -- Stephe