-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error related to extended structs with array member #10
Comments
Please check whether this problem persists with CommonAPI v3.2. If yes, please also provide the content of the .fdepl. |
This problem persists with The
And
Error:
And there are two more errors:
By the way, |
Here is a work around (NOT solution) from my colleague: replace the array with a map. In the sample I provided before, replace:
With:
|
Hello, I'm studying the SOME/IP by following the Wiki but encontered a compile error and I have no idea about how to solve it.
The
.fidl
file:After generating code with commonapi-generator and commonapisomeip_generator, I compiled my test code but failed with:
I haven't dive into CommonAPI yet but it seems that the server write
ValueBase
with anEmptyDeployment
, which doesn't work with array. The compile error won't occur if I removeValueB
and keepValueA
. Should I add something to the.fdepl
file or replace thevalue
inData
with a byte buffer and serialize theValueA
andValueB
by myself?The text was updated successfully, but these errors were encountered: