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