comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christoph.grein@eurocopter.com>
Subject: Re: How to interface in ADA with Microsoft joystick?
Date: Tue, 5 Oct 2010 03:55:04 -0700 (PDT)
Date: 2010-10-05T03:55:04-07:00	[thread overview]
Message-ID: <81c0dd97-5f24-466b-a32b-ea550c240e71@x7g2000yqg.googlegroups.com> (raw)
In-Reply-To: f5f1d30a-a7d5-4acb-8c3c-1a26d8e2a0bb@28g2000yqm.googlegroups.com

On 5 Okt., 12:19, tolkamp <f.tolk...@gmail.com> wrote:

> Finally I had success to include the package Win32 in my project.
> Compilation of the project gives the following error message for
> package win32-winnt.ads:
> “representation item appears too late”
>
> pragma Convention(C, anonymous1_t);        -- winnt.h:186
> pragma Convention(C, LUID_AND_ATTRIBUTES); -- winnt.h:2000
> pragma Convention(C, SID_IDENTIFIER_AUTHORITY);
>
> By the way, I use GNAT GPL 2009 (version 4.3.1).

This is a problem with freezing rules. Just move the pragmas directly
after the respective declaration.



  reply	other threads:[~2010-10-05 10:55 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-03 15:07 How to interface in ADA with Microsoft joystick? tolkamp
2010-10-03 15:21 ` Dmitry A. Kazakov
2010-10-04 15:16   ` tolkamp
2010-10-04 16:18     ` Dmitry A. Kazakov
2010-10-04 17:54       ` tolkamp
2010-10-04 18:58         ` Dmitry A. Kazakov
2010-10-04 19:30           ` tolkamp
2010-10-04 19:46             ` tolkamp
2010-10-05  7:30               ` Dmitry A. Kazakov
2010-10-05 10:19                 ` tolkamp
2010-10-05 10:55                   ` AdaMagica [this message]
2010-10-05 12:21                   ` Dmitry A. Kazakov
2010-10-05 15:32                     ` tolkamp
2010-10-05 16:11                       ` Andre
2010-10-05 17:03                       ` Dmitry A. Kazakov
2010-10-08  8:48                         ` tolkamp
2010-10-08 20:00                           ` Dmitry A. Kazakov
2010-10-10 11:05                             ` tolkamp
2010-10-10 11:11                               ` Dmitry A. Kazakov
2010-10-11 20:24                                 ` tolkamp
2010-10-12  7:25                                   ` Dmitry A. Kazakov
2010-10-12  9:52                                     ` tolkamp
2010-10-12 11:25                                       ` tolkamp
2010-10-12 12:07                                       ` Dmitry A. Kazakov
2010-10-12 17:41                                         ` tolkamp
2010-10-12 20:10                                           ` Dmitry A. Kazakov
replies disabled

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