* Using xda and X-Designer with gnat
@ 2000-05-22 0:00 Larson
0 siblings, 0 replies; only message in thread
From: Larson @ 2000-05-22 0:00 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-05-22 0:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-22 0:00 Using xda and X-Designer with gnat Larson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox