Files generated with FastDDSGen not correct #5870
borkhuis-cnh
started this conversation in
General
Replies: 1 comment 3 replies
-
Hi @borkhuis-cnh , Since |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am having some issues with FastDDSGen. I am upgrading from FastDDS 2.14.4 to 3.2.2 and for that we also need the latest version of FastDDSGen (version 4.0.4).
With the older version the generated files are correct but with the new version I see some strange things.
The IDL files I am using are:
simple.idl:
child.idl:
This generates the following code (only partly shown):
simple.hpp:
child.hpp:
However, nested_simple is never defined. The older version of FastDDSGen used
public test::nested_test::simple
. When I add the lineusing nested_simple = test::nested_test::simple;
to the generated child.hpp the code does compile. Is this an issue with FastDDSGen or can I change my IDL files to generate the correct files?
Beta Was this translation helpful? Give feedback.
All reactions