From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,58c59e14b3dce46b,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.in2p3.fr!in2p3.fr!not-for-mail From: xavier grave Newsgroups: comp.lang.ada Subject: compilation problem with gnat 4.4 about access type Date: Tue, 01 Dec 2009 17:28:25 +0100 Organization: In2p3 Message-ID: NNTP-Posting-Host: ipnnarval.in2p3.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ccpntc8.in2p3.fr 1259684905 4273 134.158.92.7 (1 Dec 2009 16:28:25 GMT) X-Complaints-To: newsmaster@cc.in2p3.fr NNTP-Posting-Date: Tue, 1 Dec 2009 16:28:25 +0000 (UTC) User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707) X-Enigmail-Version: 0.95.0 Xref: g2news1.google.com comp.lang.ada:8271 Date: 2009-12-01T17:28:25+01:00 List-Id: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm trying to compile a package containing an abstract remote type with gnat 4.4 (using debian package from unstable amd64 and powerpc arch) at the line declaring an access to the type I get this message : events_receivers.ads:27:09: expected type "Ada.Streams.Stream_Element_Offset" events_receivers.ads:27:09: found type "Standard.Long_Integer" The offending code : with Ada.Streams; package Events_Receivers is pragma Remote_Types; type Supported_Events_Type is (Log4ada_Event, String_Event); type Events_Receiver_Type is abstract tagged limited private; type Events_Receivers_Class_Access is access all Events_Receiver_Type'Class; -- this is line 27 ... The same code with gnat gpl 2009 compile without problem Does somebody already have experimented such behaviour ? Thanks in advance, xavier PS: the command line for the offending compilation : gcc-4.4 -c - -I/home/narval/org.log4Ada/server/obj/x86_64//../../../client/src - -I/home/narval/org.log4Ada/server/obj/x86_64//../../src - -I/home/narval/org.log4Ada/server/obj/x86_64//../../demos - -I/home/narval/org.log4Ada/server/obj/x86_64//../../../utilities/src - -I/usr/share/ada/adainclude/polyorb -I- -gnatA /home/narval/org.log4Ada/client/src/events_receivers.adb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksVRCkACgkQVIZi0A5BZF6Y9gCgp4dUj4o5Il+DZ1i3SSaUOgNo fKkAn27vTSgUP2hJDESL6A12iJ8bNdM6 =NzYF -----END PGP SIGNATURE-----