comp.lang.ada
 help / color / mirror / Atom feed
* ADA bindings for XVIEW
@ 1997-12-02  0:00 Andrew Wood
  1997-12-02  0:00 ` Robert Dewar
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Wood @ 1997-12-02  0:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-12-02  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-02  0:00 ADA bindings for XVIEW Andrew Wood
1997-12-02  0:00 ` Robert Dewar
1997-12-02  0:00   ` Andreas Almroth

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