From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: ADA bindings for XVIEW
Date: 1997/12/02
Date: 1997-12-02T00:00:00+00:00 [thread overview]
Message-ID: <dewar.881081038@merv> (raw)
In-Reply-To: 3483F671.134AFCE7@cern.ch
Andrew says
<<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 ?
>>
This program makes no sense, since C has no concept of unconstrained
arrays. So the diagnostic makes perfect sense. To conquer it, stop
trying to return unconstrained arrays!
next prev parent 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 ADA bindings for XVIEW Andrew Wood
1997-12-02 0:00 ` Robert Dewar [this message]
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