ada/7613: Can't with two child packages each of which is a renaming of the same package.

simon@pushface.org simon@pushface.org
Fri Aug 16 08:06:00 GMT 2002


>Number:         7613
>Category:       ada
>Synopsis:       Can't with two child packages each of which is a renaming of the same package.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 16 08:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Simon Wright
>Release:        gcc version 3.1
>Organization:
>Environment:
Reading specs from /opt/gcc-3.1/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../gcc-3.1/configure --prefix=/opt/gcc-3.1 --enable-languages=c,c++,gcov,ada
Thread model: single
>Description:
Can't with two child packages each of which is a renaming of the same package.

tiamat[16]$ gnatgcc -c both.adb
mine-calendar.ads:3:01: "X" conflicts with declaration at yours-calendar.ads:3
compilation abandoned

This may be a user error (though the Aonix compiler accepts it), but even if it is the error message is peculiar. 
>How-To-Repeat:
Perform the compilation.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="both.ada"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="both.ada"

cGFja2FnZSBZb3VycyBpcyBlbmQgWW91cnM7Cgp3aXRoIEFkYS5DYWxlbmRhcjsKcGFja2FnZSBZ
b3Vycy5DYWxlbmRhciByZW5hbWVzIEFkYS5DYWxlbmRhcjsKCnBhY2thZ2UgTWluZSBpcyBlbmQg
TWluZTsKCndpdGggQWRhLkNhbGVuZGFyOwpwYWNrYWdlIE1pbmUuQ2FsZW5kYXIgcmVuYW1lcyBB
ZGEuQ2FsZW5kYXI7Cgp3aXRoIFlvdXJzLkNhbGVuZGFyOwp3aXRoIE1pbmUuQ2FsZW5kYXI7CnBy
b2NlZHVyZSBCb3RoIGlzCmJlZ2luCiAgIG51bGw7CmVuZCBCb3RoOwo=



More information about the Gcc-bugs mailing list