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=0.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,37f1094bf29382ba X-Google-Attributes: gid103376,public From: njt@sv1pc161.cs.york.ac.uk (Nigel J. Tracey) Subject: Re: Intermetrics X bindings and Gnat 3.09? Date: 1997/02/07 Message-ID: <265fd5.h44.ln@localhost>#1/1 X-Deja-AN: 215094874 references: <9701282136.AA22925@plato.ds.boeing.com> to: Scott Moody organization: The University of York, UK newsgroups: comp.lang.ada Date: 1997-02-07T00:00:00+00:00 List-Id: In article <9701282136.AA22925@plato.ds.boeing.com>, Scott Moody writes: >has anyone had experience compiling the x and motif >bindings under gnat 3.09? I has informed that it >generates all sorts of errors from code that used to work under gnat 3.07. > >A quick test on 3.09 reveales the following error: > >xt-intrinsic.ads:447:05: warning: no more representation items for type > "XtConvertArgRec" defined at line 198 >xt-intrinsic.ads:2792:05: representation item appears too late > >Is there a more recent version of the source?? > I have managed to compile the bindings. I had the same error, but I simply move the representation item from line 2792 up to just below the point of the record declaration at line 204. Hope that helps, I can let you have a copy of the source as I have it if you need. As I have managed to get that to work with Gnat 3.09 on PC/Linux and SGI. One problem I did have was with Seg Faults, caused with the pthreads library from the binary distribution of Gnat 3.09 for Linux. This problem doesn't seem to occur with the pthreads library from Gnat 3.08. Nigel -------------------- Nigel J. Tracey MEng, Research Associate (High Integrity Systems Group). Department of Computer Science, Office: X/D016 University of York, Tel : [0|+44]1904 432769 York, England. E-Mail: njt@minster.york.ac.uk YO1 5DD. URL : http://sv1pc161.cs.york.ac.uk/~njt