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,db89bfa77eeb251c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news1.google.com!news3.google.com!news.glorb.com!proxad.net!usenet-fr.net!news.enst.fr!jussieu.fr!u-psud.fr!not-for-mail From: Philippe Tarroux Newsgroups: comp.lang.ada Subject: Re: Dot notation in Ada 2005 Date: Mon, 22 May 2006 08:50:51 +0200 Organization: University Paris-Sud, France. Message-ID: References: <1148127385.390797.169690@y43g2000cwc.googlegroups.com> NNTP-Posting-Host: osiris.limsi.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: upsn250.cri.u-psud.fr 1148280512 26636 129.175.157.197 (22 May 2006 06:48:32 GMT) X-Complaints-To: newsmaster@u-psud.fr NNTP-Posting-Date: Mon, 22 May 2006 06:48:32 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.8) Gecko/20050511 X-Accept-Language: fr, en In-Reply-To: <1148127385.390797.169690@y43g2000cwc.googlegroups.com> Xref: g2news2.google.com comp.lang.ada:4323 Date: 2006-05-22T08:50:51+02:00 List-Id: Martin Carlisle a �crit : >Your forgot the -gnat05 flag. See below: > >C:\d\temp>gnatmake -g objs-ext_objs >gcc -c -g objs-ext_objs.adb >objs-ext_objs.adb:21:16: no selector "X" for type "New_Point" defined >at objs-ex >t_objs.ads:12 >gnatmake: "objs-ext_objs.adb" compilation error > >C:\d\temp>gnatmake -g -gnat05 objs-ext_objs >gcc -c -g -gnat05 objs-ext_objs.adb >gcc -c -g -gnat05 objs.ads > >c:\d\temp> > >--Martin Carlisle > > Unfortunately not: gnatmake -u -c -u -PD:/users/philippe/src/ada/tests/objs/objs_test.gpr objs-ext_objs.adb -d gcc -c -gnat05 -I- -gnatA D:\users\philippe\src\ada\tests\objs\objs-ext_objs.adb objs-ext_objs.adb:16:16: no selector "X" for type "New_Point" defined at objs-ext_objs.ads:9 gnatmake: "d:\users\philippe\src\ada\tests\objs\objs-ext_objs.adb" compilation error What compiler do you use? Philippe Tarroux