[SERVER-59099] Missing generated cxx includes for importing IDL files that define enums Created: 04/Aug/21  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: IDL
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Antonio Fuschetto Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: sa-remove-fv-backlog-22
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Operating System: ALL
Steps To Reproduce:
  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.

Participants:
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


Generated at Thu Feb 08 05:46:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.