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.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,f7e693d7ea51a793,start X-Google-Attributes: gid103376,public From: Larson Subject: Using xda and X-Designer with gnat Date: 2000/05/22 Message-ID: <052c583f.7cf010d1@usw-ex0110-076.remarq.com>#1/1 X-Deja-AN: 625897788 X-Originating-Host: 136.163.209.2 X-Complaints-To: wrenabuse@remarq.com X-Trace: WReNphoon3 959002635 10.0.2.76 (Mon, 22 May 2000 06:37:15 PDT) Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here NNTP-Posting-Date: Mon, 22 May 2000 06:37:15 PDT X-Wren-Trace: eAsuBgceWRNYRx4RHQYLCRxWGAIPHFgSACcAEQweH0IHHgUZBEocSxQPT19WHVZNXFRJVkwNJTk= Newsgroups: comp.lang.ada Date: 2000-05-22T00:00:00+00:00 List-Id: Has anybody used the xda perl script from OC-systems to generate Ada code from X-Designer 5.0 generated C code? I'm having trouble using the xda script and X-Designer (V5.0) with the gnat compiler (v3.12). The generated Ada code contains at least one error and some warnings. I have found one error in the perl script that prevented the script from generating the Ada main program file. The problem seems centered around some type mismatches in the X-binding packages. I would greatly appreciate any help on this topic. /Lars-�ke Btw, the compiler messages looks like this: (I'm fully aware that this information is incomplete and it's only supplied as background info) GNAT 3.12a2 (19990629) Copyright 1992-1999 Free Software Foundation, Inc. Compiling: tutor_main.adb (source file time stamp: 2000-05-19 14:12:28) 35. X.Args.Argc'unchecked_access, | >>> object subtype must statically match designated subtype ==============Error messages for source file: /home4/storan4/larcl/mmi_test/xda/X11ada/X11/ada/x-args.ads 35. Argc: aliased X.Strings.Natural_Int; | >>> warning: aliased object has explicit bounds >>> warning: declare with explicit initialization >>> warning: for use with unconstrained access 55 lines: 1 error, 3 warnings gnatmake: "tutor_main.adb" compilation error * Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful