Issue 1806: Mapping of structure, union or exception types (ada-rtf) Source: (, ) Nature: Revision Severity: Summary: Summary: In the mapping of structure, union or exception types, the same complex_declarator component may occur in two or more structure definitions, the name of the generated types will collide in the proposed mapping. It would be wise to prepend the name of the enclosing structure: mapping of structure, union or exception types Resolution: Revised Text: Actions taken: August 13, 1998: received issue June 4, 1999: closed issue Discussion: Close with no change: End of Annotations:===== Return-Path: Sender: topgraphx@topgraphx.com From: "Bernard MAUDRY" Organization: Top Graph'X To: ada-rtf@omg.org Date: Thu, 13 Aug 1998 16:06:44 +0000 Subject: Issues about Ada mapping Priority: normal In the mapping of structure, union or exception types, the same complex_declarator component may occur in two or more structure definitions, the name of the generated types will collide in the proposed mapping. It would be wise to prepend the name of the enclosing structure: struct Example { long member1, member2; boolean member3 [4] [8]; }; maps to type Example_Member3_Array is array (0 .. 3, 0 .. 7) of Corba.Boolean; type Example is record Member1 : Corba.Long ; Member2 : Corba.Long ; Member3 : Example_Member3_Array ; end record; This will highly reduce the risk such a name collision.