Issue 10559: CORBA IDL's syntax error (rtc-ftf) Source: AIST (Dr. Noriaki Ando, n-ando@aist.go.jp) Nature: Uncategorized Issue Severity: Summary: n CORBA IDL does not allow interface's typedef. See CORBA specification, v3.0.3 http://www.omg.org/cgi-bin/apps/doc?formal/04-03-12.pdf Some IDL compilers complain that typedefed DistributedObject and Service are not interface but type when they are used as base interface. omniORB and TAO's idl compiler allow interface typedef. MICO and ORBit2 IDL compiler does not allow interface typedef. Proposed Resolution The following typedefs should be deleted. typedef SDOPackage::SDO DistributedObject; typedef SDOPackage::SDOService Service; and, the Port, ExecutionContextService and RTObject should be changed like this. interface Port : SDOPackage::SDOService { abbr.: }; interface ExecutionContextService : ExecutionContext, SDOPackage::SDOService { abbr.: }; interface RTObject : LightweightRTObject, SDOPackage::SDO { abbr.: }; Resolution: Remove the typedefs for SDOPackage::SDO and SDOPackage::SDOService; use the original types instead. Revised Text: All of the following changes are limited to RTC.idl and Annex A of the specification. · The following typedefs should be deleted. typedef SDOPackage::SDO DistributedObject; typedef SDOPackage::SDOService Service; · Port, ExecutionContextAdmin and RTObject should be changed like this. interface Port : SDOPackage::SDOService { abbr.: }; interface ExecutionContextAdmin : ExecutionContext, SDOPackage::SDOService { abbr.: }; interface RTObject : LightweightRTObject, SDOPackage::SDO { abbr.: }; Actions taken: December 22, 2006: received issue January 15, 2008: closed issue Discussion: End of Annotations:===== te: Fri, 22 Dec 2006 19:35:20 +0900 (JST) To: rtc-ftf@omg.org Subject: RTC FTF issue list was updated From: Noriaki Ando X-Mailer: Mew version 4.0.64 on XEmacs 21.4.14 (Reasonable Discussion) Hello RTC FTF members, I added a issue and two discussion comments. I hope someone gives comments to them. Updated IDL file is also attached. --------------------------------------------------------------------------- OMG ISSUE "no number" http://portals.omg.org/robotics/RtcFtfIssues#head-9d2ff375b78151bc8122c9cbff802c9de8faebcd --------------------------------------------------------------------------- -- Summary In CORBA IDL does not allow interface's typedef. See CORBA specification, v3.0.3 http://www.omg.org/cgi-bin/apps/doc?formal/04-03-12.pdf Some IDL compilers complain that typedefed DistributedObject and Service are not interface but type when they are used as base interface. omniORB and TAO's idl compiler allow interface typedef. MICO and ORBit2 IDL compiler does not allow interface typedef. -- Proposed Resolution The following typedefs should be deleted. typedef SDOPackage::SDO DistributedObject; typedef SDOPackage::SDOService Service; and, the Port, ExecutionContextService and RTObject should be changed like this.