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

Missing generated cxx includes for importing IDL files that define enums

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: IDL
    • Operating System:
      ALL
    • Steps To Reproduce:
      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.
    • Story Points:
      2

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            backlog-server-servicearch Backlog - Service Architecture
            Reporter:
            antonio.fuschetto Antonio Fuschetto
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: