From: Larson <lars-ake.classonNOlaSPAM@dynamics.saab.se.invalid>
Subject: Using xda and X-Designer with gnat
Date: 2000/05/22
Date: 2000-05-22T00:00:00+00:00 [thread overview]
Message-ID: <052c583f.7cf010d1@usw-ex0110-076.remarq.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1554 bytes --]
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
reply other threads:[~2000-05-22 0:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox