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,8c9c35a9a5d51f79 X-Google-Attributes: gid103376,public From: gvc@fred.com (G. Vincent Castellano) Subject: Re: x11ada/motif with gnat3.09 Date: 1997/06/24 Message-ID: #1/1 X-Deja-AN: 252285015 References: <33A801BF.41C6@virgoa4.in2p3.fr> Organization: Heller Information Services, Inc. Newsgroups: comp.lang.ada Date: 1997-06-24T00:00:00+00:00 List-Id: Grave Xavier writes: > > Hi, > > xt-intrinsic.ads:447:05: warning: no more representation items for type > "XtConvertArgRec" defined at line 198 The pragma Convention(C, XtConvertArgRec) appears in the private part of the package spec, after XtConvertArgRec_array is declared. Previous versions of GNAT (incorrectly) allowed this. This fix as you have discovered is to simply move the pragma to the line immediately following the declaration of XtConvertArgRec. (I seem to recall a similar problem elsewhere with an equally trivial fix). Now might be a good time to mention that the X11/Ada 95 programming page is long overdue for a revision (including this fix and an update for the XForms toolkit Ada 95 binding) but is still a going concern. Anyone with questions can feel free to contact me directly. == G. Vincent Castellano :: X/Ada WWW => http://www.ocsystems.com/xada == == "If virtual memory did not exist, it would have == == become necessary for us to invent it." ==