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,b1208117d36fb121,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-06 09:57:39 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: vgodunko@vipmail.ru (Vadim Godunko) Newsgroups: comp.lang.ada Subject: System.Address'Size - not a static integer expression? Date: 6 Mar 2002 09:57:38 -0800 Organization: http://groups.google.com/ Message-ID: <665e587a.0203060957.3682edf7@posting.google.com> NNTP-Posting-Host: 80.254.96.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1015437459 23940 127.0.0.1 (6 Mar 2002 17:57:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 6 Mar 2002 17:57:39 GMT Xref: archiver1.google.com comp.lang.ada:20873 Date: 2002-03-06T17:57:39+00:00 List-Id: Hello, I some type like this: 1 with System; 2 3 package A is 4 5 type T is private; 6 7 private 8 9 type T is record 10 P : System.Address := System.Null_Address; 11 end record; 12 for T'Size use System.Address'Size; 13 14 end A; GNAT compiler report: a.ads:12:33: static integer expression required here Is this a compiler bug? Thanks, Vadim Godunko.