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,5bef5e9c5bedc675 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-03 02:48:30 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!news.uni-stuttgart.de!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: [No_Elaboration_Code] GNAT still generating rep_to_pos, why? Date: 03 Jan 2004 11:48:28 +0100 Message-ID: <878ykp71fn.fsf@deneb.enyo.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: albireo.enyo.de 1073126909 14666 212.9.189.171 (3 Jan 2004 10:48:29 GMT) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.lang.ada:4064 Date: 2004-01-03T11:48:28+01:00 List-Id: "Luke A. Guest" writes: > 1) There are two _rep_to_pos functions generated but never > used. That's because you have an enumeration type with a non-standard representation (see the GNAT source code). > 2) I have set up my SP_Block record instance to be located at a particular > memory address, yet the compiler still generates code to initialise this > structure. pragma Import with convention Ada (or C) should help.