Bug Report no. 51 |
Reported ByDuncan Grisby Date14 April 1999 PlatformsAll VersionomniORB 2.7.1 and earlier DescriptionIf an IDL file containing a #pragma prefix ... is included into another IDL file, the prefix will continue to apply to all interfaces below the include directive (or until another prefix is specified). For example: #include <Naming.idl> interface foo {}; In this case foo will have repository id "IDL:omg.org/foo:1.0", since Naming.idl contains: #pragma prefix "omg.org" However, if the pragma is inside a module, then the scope is properly restricted to that module. WorkaroundUnfortunately the workaround posted here (until 20/4/99) does not work after all! |
|
For comments, feedback, etc, please see the 'Keeping in touch' page. |