Question on VUSE
Arnaud Charlet
charlet@ACT-Europe.FR
Mon Aug 9 21:17:00 GMT 2004
> I'm trying to compile this with
>
> $ ./gnat1 -Iada/rts -O2 -fdump-tree-all-vops alias-bug.ada
> alias-bug.ada:34:01: end of file expected, file can have only one compilation unit
>
> Should the package body be in another file?
Right. You can use gnatchop on alias-bug.ada to cut it in two files
with the proper naming, or put the two under tbg0803.ads and
tbg0803.adb
Arno
More information about the Gcc
mailing list