gnat Questions

3

Solved

Using the GNAT compiler, when I try to compile or check semantic on the following files, I get some variation of the error package "Foo" does not allow a body. I'm new to the language and can't fin...
Lanford asked 27/9, 2012 at 21:55

4

Solved

I'm doing an intro to programming course at university, and the language of choice is Ada. I'm coding in Kate and compiling with GNAT 4.6.3. We have to use teacher-provided libraries for our progra...
Emmittemmons asked 25/9, 2012 at 12:17

1

Solved

I have a record and wanted some accessor function for it. package Some_Package is type A is tagged record First_Field : Integer; Second_Field : Character; end record; type B is private...
Hippel asked 25/7, 2012 at 9:14

2

Solved

How do you call scanf from Ada? That is, presumably with an appropriate pragma import declaration, but what would the declaration look like? (I'm interested in how to call C functions of the more ...
Fasciculus asked 8/1, 2012 at 9:58

2

Solved

Can anybody tell me how to find or create a binding to OpenCV for GNAT? I want to use Ada2005 to implement some program with OpenCV (1.0 or 2.X), but I don't know how. Can anybody teach me how to d...
Dixon asked 3/8, 2011 at 14:41

2

Solved

I am looking for a command line to check for the version of my Ada installation. Any help ?
Bagnio asked 12/2, 2011 at 6:6

© 2022 - 2024 — McMap. All rights reserved.