Re: Dot notation in Ada 2005
- From: Philippe Tarroux <philippe.tarroux@xxxxxxxx>
- Date: Mon, 22 May 2006 08:50:51 +0200
Martin Carlisle a écrit :
Your forgot the -gnat05 flag. See below:Unfortunately not:
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
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
.
- Follow-Ups:
- Re: Dot notation in Ada 2005
- From: Martin Carlisle
- Re: Dot notation in Ada 2005
- From: Marc Enzmann
- Re: Dot notation in Ada 2005
- References:
- Dot notation in Ada 2005
- From: Philippe Tarroux
- Re: Dot notation in Ada 2005
- From: Martin Carlisle
- Dot notation in Ada 2005
- Prev by Date: Re: Exceptions and Streams
- Next by Date: Re: Dot notation in Ada 2005
- Previous by thread: Re: Dot notation in Ada 2005
- Next by thread: Re: Dot notation in Ada 2005
- Index(es):
Relevant Pages
|
|