Hello,

private package P is
end P;

with P.B;
package P.A is
end P.A;

limited with P.A;
package P.B is
end P.B;

gcc -c p-a.ads
p-b.ads:1:14: unit in with clause is private child unit

This seems incorrect.


-- 
           Summary: limited with clause and private parent package
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vgodunko at rostel dot ru


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34374

Reply via email to