Question:
Does microxrceddsgen support union?
Env:
OS: Linuxmint LMDE 5 (elsie)
openjdk 17.0.6 2023-01-17
microxrceddsgen version: 2.0.2 (master branch)
ID:Micro-XRCE-DDS-Gen/thirdparty/IDL-Parser/test/idls/coverage_basic.idl (only keep MyEnum and SimpleUnion)
enum MyEnum
{
A,
B,
C
};
union SimpleUnion switch (long)
{
case A:
long first;
case B:
long long second;
};
Operation:
./microxrceddsgen ./coverage_basic.idl -replace
(I copy coverage_basic.idl to scrip folder)
Result:
Generated: coverage_basic.c coverage_basic.h BUT no union supported.
coverage_basic.c is empty:
Question: Does microxrceddsgen support union? Env: OS: Linuxmint LMDE 5 (elsie) openjdk 17.0.6 2023-01-17 microxrceddsgen version: 2.0.2 (master branch) ID:Micro-XRCE-DDS-Gen/thirdparty/IDL-Parser/test/idls/coverage_basic.idl (only keep MyEnum and SimpleUnion)
Operation: ./microxrceddsgen ./coverage_basic.idl -replace (I copy coverage_basic.idl to scrip folder) Result: Generated: coverage_basic.c coverage_basic.h BUT no union supported. coverage_basic.c is empty:
coverage_basic.h only enum