Issue 5475: IDL compile problem (lecis-ftf) Source: Creon-Labcontrol AG (Mr. Thorsten Richter, thorsten.richter@creonlabcontrol.com) Nature: Uncategorized Issue Severity: Summary: Java JDK1.4- IDL compiler complained in SCD IDL, that INIT is a keyword. We should use escaped identifier or change the name. 2. Java JDK1.4 IDL compiler complained in SLM IDL, that LOCAL is keyword.We should use escaped identifier or change the name. The files where compliled correctly, but we should keep this in mind. Resolution: see discussion Revised Text: Change: Add escaped identifier for INIT and LOCAL keywords: On Page 7-2 change enum ECommandCategory { INIT, CONTROL, FUNCTION, CONFIGURE, RECOVERY, STATUSREQ, MAINTAIN, CALIBRATE, ADMIN, RESULT }; to enum ECommandCategory { _INIT, CONTROL, FUNCTION, CONFIGURE, RECOVERY, STATUSREQ, MAINTAIN, CALIBRATE, ADMIN, RESULT }; On page 8-2 change enum ELocalRemote { LOCAL, REMOTE, AVAILABLE }; to enum ELocalRemote { _LOCAL, REMOTE, AVAILABLE }; On Page 2-10 make the same change from LOCAL to _LOCAL Actions taken: July 9, 2002: received issue December 11, 2002: closed issue Discussion: Change: Add escaped identifier for INIT and LOCAL keywords: On Page 7-2 change enum ECommandCategory { INIT, CONTROL, FUNCTION, CONFIGURE, RECOVERY, STATUSREQ, MAINTAIN, CALIBRATE, ADMIN, RESULT }; to enum ECommandCategory { _INIT, CONTROL, FUNCTION, CONFIGURE, RECOVERY, STATUSREQ, MAINTAIN, CALIBRATE, ADMIN, RESULT }; On page 8-2 change enum ELocalRemote { LOCAL, REMOTE, AVAILABLE }; to enum ELocalRemote { _LOCAL, REMOTE, AVAILABLE }; On Page 2-10 make the same change from LOCAL to _LOCAL End of Annotations:===== To: lecis-ftf@omg.org, lecis-post@yahoogroups.com Subject: LECIS FTF issue TR04: IDL compile problem X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 From: Thorsten.Richter@creonlabcontrol.com Date: Wed, 10 Jul 2002 09:25:03 +0200 X-MIMETrack: Serialize by Router on domino1/creonlabcontrol/de(Release 5.0.8 |June 18, 2001) at 07/10/2002 11:40:58 AM, Serialize complete at 07/10/2002 11:40:58 AM 1. Java JDK1.4- IDL compiler complained in SCD IDL, that INIT is a keyword. We should use escaped identifier or change the name. 2. Java JDK1.4 IDL compiler complained in SLM IDL, that LOCAL is keyword.We should use escaped identifier or change the name. The files where compliled correctly, but we should keep this in mind. Best regards, Thorsten Thorsten Richter Project Manager -------------------------------------------------------------- CREONLLLLLLLABCCCCCCCONTROL AG Europaallee 27-29, D-50226 Frechen, Germany Tel. +49 2234 9207-0 Fax. +49 2234 9207-99 http://www.creonlabcontrol.com -------------------------------------------------------------- X-Sender: tstaab@popmail.esa.lanl.gov X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 09 Aug 2002 10:32:33 -0600 To: lecis-ftf@omg.org From: Torsten Staab Subject: LECIS FTF issue TR4 In response to issue # TR4 "IDL compile problem" Thorsten.Richter@creonlabcontrol.com wrote: 1. Java JDK1.4- IDL compiler complained in SCD IDL, that INIT is a keyword. We should use escaped identifier or change the name. 2. Java JDK1.4 IDL compiler complained in SLM IDL, that LOCAL is keyword.We should use escaped identifier or change the name. The files where compliled correctly, but we should keep this in mind. I haven't tried compiling the IDL myself, but I see the problem. I would prefer "escaping" the words. Torsten