Skip to content

".\CosNotification.idl", line 59: spelling differs from IDL keyword only in case: "EventType" #2161

Closed

Description

@xpston008

ace_tao

..\bin\tao_idl.exe
TAO_IDL_FE, version 2.5.9 (Based on Sun IDL FE, version 1.3.0)
TAO_IDL_BE, version 2.5.9

1、I am a client that needs to access the server
2、In the manufacturer-provided idl file, EventType is defined in omg/CosNotification.idl.
The compile command is "... \bin\tao_idl.exe CosNotifyFilter.idl-o.\src".Error ".\CosNotification.idl", line 59: spelling differs from IDL keyword only in case: "EventType"
I changed EventType to _EventType in omg/CosNotification.idl, and it compiled normally。As follows:

struct EventType
   {
      string domain_name;
      string type_name;
   };

struct _EventType
   {
      string domain_name;
      string type_name;
   };

Question 1:
if EventType is changed to _EventType, can the server recognize and transfer data between client and server normally?
Question 2:
idl contains "ace_tao comes with omg idls", e.g #include ".. / orbsvcs orbsvcs/CosNotifyChannelAdmin idl". But I am not sure whether the client accesses the server properly using tao's omg?

Sorry, I'm writing code right now and don't have a debug environment. So I hope I can get an answer. Thanks!
@mitza-oci @jwillemsen

Activity

  1. locked and limited conversation to collaborators on Nov 10, 2023
  2. converted this issue into a discussion #2162 on Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions