Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-59099

Missing generated cxx includes for importing IDL files that define enums

    • Server Programmability
    • ALL
    • Hide
      1. Define an IDL file, lets say A, defining an enum
      2. Define another IDL file, lets say B, importing the file A
      3. Compiler the IDL files, both A and B

      The problem is that the generated header of the IDL B does not import the header of the IDL A.

      Show
      Define an IDL file, lets say A, defining an enum Define another IDL file, lets say B, importing the file A Compiler the IDL files, both A and B The problem is that the generated header of the IDL B does not import the header of the IDL A.
    • 2

      Hi Service Architecture Team,

      I have just experienced a problem with the IDL compiler where the generated header file of an IDL file does not include the generated header file of an imported IDL.
      This happens when the imported IDL defines enums and not structs. Vice-versa it works as aspected. This sounds like a compiler bug.

      Feel free to contact me if you need any additional information.

      Thanks,
      Antonio

            Assignee:
            Unassigned Unassigned
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: