FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 05-19-2010, 08:22 AM
Ludovic Brenta
 
Default Bug#582219: gnat-4.4: cannot import abstract subprogram

Package: gnat-4.4

Version: 4.4.0-1

Severity: minor

Justification: optional, non-standard feature that is not yet implemented



with the following packages installed:



ii gnat 4.4+1 The GNU Ada compiler

ii gnat-4.4 4.4.4-2 The GNU Ada compiler

ii gnat-4.4-base 4.4.4-2 The GNU Compiler Collection (gnat base

packa

ii gprbuild 1.3.0-1 a multi-language extensible build tool

ii gprbuild-doc 1.3.0-1 a multi-language extensible build tool



$ cp -a /usr/share/doc/gprbuild-doc/examples/ada_cpp .

$ cd ada_cpp

$ make

gprconfig --batch --config Ada,,sjlj --config C++ -o default.cgpr

Creating configuration file: default.cgpr

gprbuild animals.gpr

gcc-4.4 -c -g -gnat05 -gnatwA main.adb

animals.ads:33:24: cannot import abstract subprogram "Number_Of_Teeth"

declared at line 5

animals.ads:36:24: cannot import abstract subprogram "Set_Owner" declared

at line 10

gprbuild: *** compilation phase failed

make: *** [all] Error 4



The problem is simply that gprbuild (both 1.2.0 and 1.3.0) contains

examples that assume a more recent version of the Ada front-end. gnat-4.4

is roughly but not exactly equivalent to GNAT GPL 2008; releases after that

add new features for interfacing with C++ and in particular C++ virtual

methods, multiple inheritance and constructors. These features will be

available in the future package gnat-4.5.



--

Ludovic Brenta.





--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: ce28428f5dbef3dcc3aa4ad122532048@localhost">http://lists.debian.org/ce28428f5dbef3dcc3aa4ad122532048@localhost
 

Thread Tools




All times are GMT. The time now is 10:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org