Replies: 1 comment
-
We solved this issue by setting bounds on the Solution to limit the sequence size for others in the future:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am running into an issue when compiling generated C++ sources that have been generated from IDL files using
fastddsgen
. The error is a-Wnarrowing
compiler error that is generated because the generated CDR size of a struct is greater than can fit in auint32_t
.I need help understanding why a type’s generated
_max_cdr_typesize
could be so large.The IDL have been successfully used with the CycloneDDS toolchain.
Software versions
Compiler error
How the sources are being generated
We have a custom CMake function which generates a shared library by first invoking fastddsgen to generate C++ sources from the IDL, and then adds those generates sources to the CMake target.
IDL files
Beta Was this translation helpful? Give feedback.
All reactions