comp.lang.ada
 help / color / mirror / Atom feed
From: Andrew Wood <andrew.wood@cern.ch>
Subject: ADA bindings for XVIEW
Date: 1997/12/02
Date: 1997-12-02T00:00:00+00:00	[thread overview]
Message-ID: <3483F671.134AFCE7@cern.ch> (raw)


when compiling xvAda-0.4.1 libraries, I get this error

gcc -g -O -I/usr/openwin/include -c xv_panel_package.adb
xv_panel_package.adb:165:12: convention for "xv_get" does not permit
returning unconstrained array type
make: *** [xv_panel_package.ali] Error 1


the code causing the problem is :



 function xv_get (owner : Xv_opaque; cmd : Integer; Data : Integer;
                                                     term : Integer)
                   return Interfaces.C.Char_array;
  pragma import (C,xv_get,"xv_get");



Does anyone know why ? or how to conquer ?


Andrew Wood

CERN  CH-1211-Geneve,23,
Switzerland.
Phone: 78997  mobile: 160283




             reply	other threads:[~1997-12-02  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-02  0:00 Andrew Wood [this message]
1997-12-02  0:00 ` ADA bindings for XVIEW Robert Dewar
1997-12-02  0:00   ` Andreas Almroth
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox