Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
Hi,
I am trying to initialize the structure like below in c++(-cpp11)struct{int a;int b;}structType;
structType xyz{.a=5, .b=7};
However the above code is giving me error "expected an expression".If I use the -c99 option, the other c++ code give
I believe you have to add "struct" as a keyword before the struct type, so "struct structType xyz{.a=5, .b=7};