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,cef7b4ec6046abaf X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Win32Ada problems References: <2203f454-0cb2-4c28-b50d-a3cdbaebb2aa@18g2000yqa.googlegroups.com> From: Stephen Leake Date: Wed, 26 Aug 2009 05:09:33 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:3uPITouo0PDaKo+4nEwKTk9epBI= MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 324664a94fba3e197caa723470 Xref: g2news2.google.com comp.lang.ada:7982 Date: 2009-08-26T05:09:33-04:00 List-Id: Pablo writes: > I�m trying to compile some win32ada files bjut I get the following > error: > gcc -c withall.adb > win32-winnt.ads:2642:05: representation item appears too late > win32-winnt.ads:2645:05: representation item appears too late > win32-winnt.ads:2658:05: representation item appears too late > win32-winnt.ads:2659:05: representation item appears too late > gnatmake: "withall.adb" compilation error > Support libraries built. > > Someone knows how to solve it? Apparently the version of win32-winnt.ads you are using violates some Ada rule, and the Ada compiler version you are using enforces that rule. You have a few choices: Get a newer version of win32-winnt.ads Use an older version of the Ada compiler Edit win32-winnt.ads If you got the compiler and win32-winnt.ads as a single distribution, then you should report the problem to the vendor so they can fix it. -- -- Stephe