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,35ae3d13e899b684 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-22 13:00:09 PST Path: supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.frmt1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Need help mapping a C struct to Ada References: X-Newsreader: Tom's custom newsreader Message-ID: <5Dtu6.1652$w46.190887@news1.frmt1.sfba.home.com> Date: Thu, 22 Mar 2001 20:53:21 GMT NNTP-Posting-Host: 24.20.190.201 X-Complaints-To: abuse@home.net X-Trace: news1.frmt1.sfba.home.com 985294401 24.20.190.201 (Thu, 22 Mar 2001 12:53:21 PST) NNTP-Posting-Date: Thu, 22 Mar 2001 12:53:21 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: supernews.google.com comp.lang.ada:6006 Date: 2001-03-22T20:53:21+00:00 List-Id: Oops, in for element_table use record count at 0 range 0 .. Interfaces.C.Int'size - 1; the_elements at Interfaces.C.Int'size/System.Storage_Unit range 0 .. (Max_Possible_Index+1)*Interfaces.C.Int'size - 1; end record; the range of the_elements should of course be range 0 .. (Max_Possible_Index+1)*element'size - 1;