comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephen.Leake@gsfc.nasa.gov>
Subject: Re: OpenGl and ADA95 by Aonix
Date: 1998/02/13
Date: 1998-02-13T00:00:00+00:00	[thread overview]
Message-ID: <34E46D9D.2DE5@gsfc.nasa.gov> (raw)
In-Reply-To: 6c0pv1$os9$1@front1.grolier.fr


Colson Eric wrote:
> I've seen in the package  glut.ads for Gnat that the specification for
> GlutInit is:
> 
>        procedure glutInit (argcp : access Integer;
>                            argv  : access Interfaces.C.Strings.Chars_Ptr);
>        pragma Import (C, glutInit, "glutInit", "glutInit");
> 
> With Aonix, the problem is the parameters look like not to be recognize. I
> obtain at the moment of the execution the following message :
> "exception raised : constraint error
> exception message : access error"
> 

This means that you are passing a null pointer. If you post the code
that calls glutInit, maybe we can help more.

-- 
- Stephe




  reply	other threads:[~1998-02-13  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-13  0:00 OpenGl and ADA95 by Aonix Colson Eric
1998-02-13  0:00 ` Stephen Leake [this message]
1998-02-16  0:00   ` Ken Thomas
1998-02-16  0:00     ` Robert Dewar
1998-02-13  0:00 ` Robert Dewar
replies disabled

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