This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question on VUSE


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]