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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ccb1f2c935939530,start X-Google-Attributes: gid103376,public From: Stefan Muehlebach Subject: GNAT Compiler-Bug? Date: 1997/09/09 Message-ID: <5v3k78$dva$3@ubnnews.unisource.ch>#1/1 X-Deja-AN: 271004102 X-URL: news:comp.lang.ada/7684-7784 Organization: Technical University Brugg-Windisch - Switzerland Newsgroups: comp.lang.ada Date: 1997-09-09T00:00:00+00:00 List-Id: I tried to compile the X11/Motif-binding from Intermetrics with the new GNAT-Compiler 3.09. At the File 'xt-intrinsic.ads' the following error message appeared: xt-intrinsic.ads:447:05: warning: no more representation items for type "XtConvertArgRec" defined at line 198 xt-intrinsic.ads:2799:05: representation item appears too late gnatmake: "xt-intrinsic.adb" compilation error With the old version (3.05) I had no such problems. To solve it, I just moved the instruction from line 2799 (it was a 'pragma'-statement) up to line 199 and - voila - everything went right. Could one of the GNAT-Gurus give me a answer to this problem? S. Muehlebach -- Stefan Muehlebach -- ia94mueh@htl-bw.ch -- Technical University of Brugg-Windisch, Switzerland