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: 103376,4d1b41004c1d217c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,CP1252 Path: g2news1.google.com!postnews.google.com!x7g2000yqg.googlegroups.com!not-for-mail From: AdaMagica Newsgroups: comp.lang.ada Subject: Re: How to interface in ADA with Microsoft joystick? Date: Tue, 5 Oct 2010 03:55:04 -0700 (PDT) Organization: http://groups.google.com Message-ID: <81c0dd97-5f24-466b-a32b-ea550c240e71@x7g2000yqg.googlegroups.com> References: <2edbcdab-8ff5-40e6-9ac0-44be6cb93621@m15g2000yqm.googlegroups.com> <1ne6iis0we6lt.7ftiqb64g582.dlg@40tude.net> <04cf664d-62bd-4e2e-8aaa-cd4654ea327e@26g2000yqv.googlegroups.com> <1cd6pmbvbsnkb$.uwz2048291is.dlg@40tude.net> <3a82f59a-129f-46b1-bd0c-eae124136590@26g2000yqv.googlegroups.com> NNTP-Posting-Host: 80.156.44.178 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1286276104 27166 127.0.0.1 (5 Oct 2010 10:55:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 5 Oct 2010 10:55:04 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x7g2000yqg.googlegroups.com; posting-host=80.156.44.178; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; de; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14392 Date: 2010-10-05T03:55:04-07:00 List-Id: On 5 Okt., 12:19, tolkamp 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: > =93representation item appears too late=94 > > pragma Convention(C, anonymous1_t); =A0 =A0 =A0 =A0-- 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.