comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Creating several types from a base type and conversion
Date: Sat, 18 Jan 2020 22:35:51 +0000
Date: 2020-01-18T22:35:51+00:00	[thread overview]
Message-ID: <ly7e1oxuig.fsf@pushface.org> (raw)
In-Reply-To: 536e9961-f454-44d9-95a6-aecaaee1addf@googlegroups.com

Ken Roberts <alisonken1@gmail.com> writes:

> On Saturday, January 18, 2020 at 7:10:00 AM UTC-8, Simon Wright wrote:
>> Ken Roberts <snip> writes:
>> 
>> > Don't know about the syntax errors - gnatmake seems to like it.
>> 
>> Then the code you're compiling isn't the code you're showing to us!
>
>
> ken/ntds/usq20/playground $ gnatmake core
> gcc -c core.ads
> ken/ntds/usq20/playground $ ls -al
> drwxrwxr-x. 2 ken ken 4096 Jan 18 14:10 .
> drwxrwxr-x. 8 ken ken 4096 Jan 16 03:34 ..
> -rw-rw-r--. 1 ken ken 1201 Jan 16 03:49 core.ads
> -rw-rw-r--. 1 ken ken  280 Jan 18 14:10 core.ali
> -rw-rw-r--. 1 ken ken  968 Jan 18 14:10 core.o
> ken/ntds/usq20/playground 

Well, the core.ads you showed is 3 times bigger!!!!

lockheed:cla simon$ ls -l core.*
-rw-r--r--  1 simon  staff  3377 18 Jan 22:23 core.ads
lockheed:cla simon$ gnatmake core.ads
gcc -c core.ads
core.ads:34:17: anonymous arrays not allowed as components
core.ads:35:17: anonymous arrays not allowed as components
core.ads:37:28: missing ";"
core.ads:38:09: missing "end record;" for "record" at line 37
core.ads:39:23: invalid representation clause
core.ads:40:05: no "record" for this "end record"
core.ads:45:13: anonymous arrays not allowed as components
core.ads:46:13: anonymous arrays not allowed as components
core.ads:47:13: anonymous arrays not allowed as components
core.ads:48:13: anonymous arrays not allowed as components
core.ads:49:13: anonymous arrays not allowed as components
core.ads:51:32: missing ";"
core.ads:52:09: missing "end record;" for "record" at line 51
core.ads:53:19: invalid representation clause
core.ads:54:19: invalid representation clause
core.ads:55:19: invalid representation clause
core.ads:56:19: invalid representation clause
core.ads:57:05: no "record" for this "end record"
core.ads:63:13: anonymous arrays not allowed as components
core.ads:64:13: anonymous arrays not allowed as components
core.ads:65:13: anonymous arrays not allowed as components
core.ads:66:13: anonymous arrays not allowed as components
core.ads:67:13: anonymous arrays not allowed as components
core.ads:69:32: missing ";"
core.ads:70:09: missing "end record;" for "record" at line 69
core.ads:71:19: invalid representation clause
core.ads:72:19: invalid representation clause
core.ads:73:19: invalid representation clause
core.ads:74:19: invalid representation clause
core.ads:75:05: no "record" for this "end record"
core.ads:81:21: anonymous arrays not allowed as components
core.ads:83:28: missing ";"
core.ads:84:09: missing "end record;" for "record" at line 83
core.ads:85:23: missing "use"
core.ads:86:23: missing "use"
core.ads:87:23: missing "use"
core.ads:88:23: missing "use"
core.ads:89:05: no "record" for this "end record"
core.ads:90:27: missing ";"
gnatmake: "core.ads" compilation error
lockheed:cla simon$ 

  reply	other threads:[~2020-01-18 22:35 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-18  7:32 Creating several types from a base type and conversion Ken Roberts
2020-01-18 12:16 ` Simon Wright
2020-01-18 12:49   ` Ken Roberts
2020-01-18 14:56     ` Bill Findlay
2020-01-18 16:13       ` Jeffrey R. Carter
2020-01-18 18:20         ` Bill Findlay
2020-01-18 18:32           ` Jeffrey R. Carter
2020-01-18 20:34             ` Simon Wright
2020-01-20 16:38               ` Bill Findlay
2020-01-18 22:20       ` Ken Roberts
2020-01-18 15:09     ` Simon Wright
2020-01-18 22:16       ` Ken Roberts
2020-01-18 22:35         ` Simon Wright [this message]
2020-01-18 23:03           ` Ken Roberts
2020-01-18 23:38             ` Simon Wright
2020-01-19  0:12               ` Ken Roberts
2020-01-19  9:37                 ` Simon Wright
2020-01-19 11:48                   ` AdaMagica
2020-01-19 14:51                     ` Simon Wright
2020-01-19 15:24                       ` Niklas Holsti
2020-01-19 16:11                     ` Optikos
2020-01-19  0:33               ` Ken Roberts
2020-01-19  0:07         ` Niklas Holsti
2020-01-18 15:47     ` Simon Wright
2020-01-21 21:35     ` Shark8
2020-01-21 23:06       ` Niklas Holsti
2020-01-22  1:08         ` Ken Roberts
2020-01-22 14:18           ` Ken Roberts
2020-01-22  8:37       ` Simon Wright
2020-01-22 14:32         ` Shark8
2020-01-22 15:40           ` Simon Wright
2020-01-18 14:17   ` Optikos
2020-01-18 17:57 ` Niklas Holsti
2020-01-18 22:59   ` Ken Roberts
2020-01-19  0:30     ` Niklas Holsti
2020-01-19  1:07       ` Ken Roberts
2020-01-19  3:37 ` Ken Roberts
2020-01-23 21:39 ` Optikos
2020-01-24  9:35   ` Ken Roberts
2020-01-24 10:04     ` AdaMagica
2020-01-24 12:38     ` Optikos
2020-01-24 15:01       ` Ken Roberts
2020-01-24 15:22         ` Simon Wright
2020-01-24 15:40           ` Ken Roberts
2020-01-24 15:54   ` Simon Wright
2020-01-25 10:37 ` Ken Roberts
2020-01-25 10:44   ` Ken Roberts
2020-01-25 20:26   ` Shark8
2020-01-27 14:10 ` Ken Roberts
replies disabled

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